Null Pointer Crash in KeyboardAutoScrollManager.AdjustPosition #21160
Labels
area-keyboard
Keyboard, soft keyboard
fixed-in-8.0.40
fixed-in-9.0.0-preview.5.24307.10
legacy-area-controls
Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
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
.FullScreen
is 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
ModalPresentationStyle
of e.g.PageSheet
avoids the crash.Relevant log output
No response
The text was updated successfully, but these errors were encountered: