Files
Prashanth Govindaraj cd4977e60c Fix .scroll popup shifting off-screen when keyboard appears (issue #281)
When useKeyboardSafeArea(true) is used with a .scroll type popup, the
keyboard height was applied to the popup's Y offset, causing the entire
popup to move up by the full keyboard height and go off-screen.

Fix: for .scroll type, skip the frame-level keyboard offset and instead
subtract keyboardHeight from the ScrollView's maxHeight constraint, so
the scroll area shrinks while the popup stays anchored at the bottom.

Also adds a reproduction case to the example app under Inputs >
"Scroll + Keyboard (issue #281)".

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-01 20:37:49 -07:00
..