[BUG] Drawer modal height changes when focus switches between input fields on mobile device #3730
Open
1 of 9 tasks
Labels
bug
👶🏻 New
For new issues before prioritisation and refinement
NOT Prioritized
Issue not yet prioritized and added to a Milestone
NOT Verified
Applied to bug reports that have not been verified by a member of @kirbydesign/kirby-guild
Describe the bug
If you have a drawer modal with multiple input fields, switching between the fields changes the height of the drawer on a mobile device (tested on iOS and Android).
In an Capacitor iOS app, it seems to loose the additional height it needs to offset the keyboard.
In a web page opened in iOS Safari or Android Chrome the behavior seems more erratic (se the screen recording below).
Describe how to reproduce the bug
A demo of the issue can be seen on this Stackblitz (open it in a mobile browser).
Which Kirby version was used?
9.7.2 and 10.0.0.
What was the expected behavior?
The height remains the same.
Add any screenshots
Capacitor app in iOS:
RPReplay_Final1731507653.mov
In a web page in iOS Safari:
ScreenRecording_12-03-2024.20-17-03_1.mov
Please complete the following information:
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
NOT verified
label has been removed by a member of team Kirby; do not proceed until this is done.Implementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review:
The text was updated successfully, but these errors were encountered: