Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used: androidx.appcompat:appcompat:1.5.1
Version used: 1.5.1
Devices/Android versions reproduced on: Pixel 5 Android 12, emulator API 33
MRE:https://github.com/RSBat/dialog-keyboard-bug
Video:https://drive.google.com/file/d/14DCr33WVdpYfL1GyvKs4ABoYo9wMgbzU/view?usp=share_link
Opening keyboard when displaying dialog that has its size set to
match_parent
causes it to shift too much up, resulting in empty space between dialog and keyboard for a few frames. After that everything moves into expected positions.Overriding dialog's theme and setting
windowIsFloating
tofalse
orwindowSoftInputMode
toadjustResize
fixes the issue.