mirror of
https://github.com/exyte/PopupView.git
synced 2026-05-07 20:12:47 +00:00
cd4977e60c
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>