title: SwiftUI Keyboard Avoidance squishing textfield
body: <p>The view is being condensed instead of moved up when the keyboard is presented. It works as expected in portrait mode, the issue only presents in landscape mode. Photos attached for clarification. I have tried <code>.edgesIgnoreSafeArea()</code>, along with the solutions presented on <a href="https://stackoverflow.com/questions/56491881/move-textfield-up-when-the-keyboard-has-appeared-in-swiftui">this thread</a>.</p>
  <pre><code>VStack {
                  
                  Text(&quot;\(titleText)&quot;)
                      .font(.system(size: 30))
                      .bold()
                  
                  VStack {
                      Text(&quot;Item Title&quot;)
                      TextField(&quot;Item Title&quot;, text: $title)
                          .formStyle()
                      
                  }
                  
                  VStack {
                      Text(&quot;Item Description&quot;)
                      TextField(&quot;Item Description&quot;, text: $itemDescription)
                      //TextEditor(text: $itemDescription)
                          .formStyle()
                  }
                  
                  VStack {
                      Text(&quot;Unit Type&quot;)
                      TextField(&quot;Each, Total, Hours, LF, etc...&quot;, text: $unitType)
                          .formStyle()
                  }
                  
                  VStack {
                      Text(&quot;Unit Cost&quot;)
                      TextField(&quot;Cost per unit&quot;, text: $unitCost, onEditingChanged: { (isChanged) in
                          guard !unitCost.isEmpty else { return }
                          //Ensuring entered text can be converted to required double
                          if let _ = Double(unitCost) {
                              isUnitCostValid = true
                          } else {
                              isUnitCostValid = false
                              unitCost = &quot;&quot;
                              alertTitle = .unitCostError
                              alertMessage = &quot;Not a valid Unit Cost. Please enter only numbers.&quot;
                              showingAlert = true
                          }
                      })
                      .keyboardType(.numberPad)
                      .formStyle()
                  }
                  
                  Spacer()
                  
                  Button(&quot;\(saveText)&quot;) {
                      //code to print to console coredata path for device
                      // print(FileManager.default.urls(for: .documentDirectory, in: .userDomainMask))
                      addNewItem()
                  }
                  .font(.system(size: 30))
                  .frame(maxWidth: 400, maxHeight: 100)
                  .foregroundColor(.white)
                  .background(Color.blue)
                  .clipShape(Capsule())
                  .disabled(isDisabled)
                  .opacity(isDisabled ? 0.7 : 1)
                  .alert(isPresented: $showingAlert) {
                      Alert(title: Text(alertTitle.rawValue), message: Text(alertMessage), dismissButton: .default(Text(&quot;OK&quot;), action: {
                          if case .saved = alertTitle {
                              settingsPopper.popToSettings()
                              //use presentationMode... if not using our custom popper
                              //presentationMode.wrappedValue.dismiss()
                          }
                      }))
                  }
              }
  </code></pre>
  <p>Any ideas?</p>
  <p><img src="https://i.stack.imgur.com/RiFWj.jpg" alt="Before" /></p>
  <p><img src="https://i.stack.imgur.com/YjV60.jpg" alt="After" /></p>