-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Null Pointer Crash in KeyboardAutoScrollManager.AdjustPosition #21160
Copy link
Copy link
Closed
Labels
area-keyboardKeyboard, soft keyboardKeyboard, soft keyboardfixed-in-8.0.40fixed-in-9.0.0-preview.5.24307.10legacy-area-controlsLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, EditorLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editorplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
area-keyboardKeyboard, soft keyboardKeyboard, soft keyboardfixed-in-8.0.40fixed-in-9.0.0-preview.5.24307.10legacy-area-controlsLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, EditorLabel, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editorplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
When testing a plugin that uses a third-party SDK to present UI, presenting a full-screen modal view controller with text fields results in a crash (null pointer exception) in the AdjustPosition method of KeyboardAutoScrollManager.
Changing the modal presentation style to something other than
.FullScreenis a workaround that avoids the crash.Steps to Reproduce
dotnet build -f:net8.0-ios -t:Run)Link to public reproduction project repository
No response
Version with bug
8.0.6 SR1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
Only tested with iOS 17.0
Did you find any workaround?
Yes, presenting the view controller with a
ModalPresentationStyleof e.g.PageSheetavoids the crash.Relevant log output
No response