[Bug] The Login capture panel is incorrectly displayed when opening the keyboard
Steps to reproduce
- Launch Fenix.
- Access any website and login.
- On the Login capture panel tap on the username or password field.
- Expected behavior The Login capture panel should be fully displayed with all the buttons in order to save or not after editing the password.
- Actual behavior The Login capture panel is incorrectly displayed when opening the keyboard
- Device information
- Android device: Google Pixel 4 XL (10).
- Fenix version: Nightly 4/22.

┆Issue is synchronized with this Jira Task
I think this in theory would impact all of our bottom sheet dialogs, but this is the only dialog with edit texts AFAIK. This dialog lives in Android Components here
Bottom-sheet w/ edit text is in AC, but Fenix can work on it.
My AC fix landed and this should be fixed in master now 😄
Hello @sblatz, found this bug (login dialog is shown in the middle of the screen and the keyboard disappears - Video) which appeared after https://github.com/mozilla-mobile/android-components/pull/6997 was merged. Posted it here because it's related and it's not closed yet.
Hmm this seems to be happening because the keyboard is visible at first but dismisses as the fragment is showing. This does seem like a much less severe bug than the original, but I will investigate to see if I can fix both.
Hello @sblatz, found this bug (login dialog is shown in the middle of the screen and the keyboard disappears - Video) which appeared after mozilla-mobile/android-components#6997 was merged. Posted it here because it's related and it's not closed yet.
Reproducible on Beta 5.1.0-beta.1 and Nightly 200520 from 5/20 after signing in to:
• yahoo.com
• instagram.com
using the following devices: • Google Pixel 3a (Android 10) • Huawei Mate 20 Lite (Android 9) • OnePlus A3 (Android 6.0.1)
The other AC fix I made for this has landed. Let's test one more time 😄
The new AC patch hasn't been merged yet. I'll put the qa needed on again once it lands in Fenix.
We've updated AC now so I'll put a qa needed on this 😄
Hi, verified as fixed on the latest Nightly Build 200529 from 5/29 using the following devices:
• Google Pixel 3a (Android 10)
• Huawei Mate 20 Lite (Android 9)
• OnePlus A3 (Android 6.0.1)
► Video Instagram

► Video Yahoo

Hello @sblatz, found this bug (login dialog is shown in the middle of the screen and the keyboard disappears - Video) which appeared after mozilla-mobile/android-components#6997 was merged. Posted it here because it's related and it's not closed yet.
I can still reproduce this with Samsung Galaxy S9 (Android 8) on Firefox Preview Beta 5.2.0-beta and latest nightly, it's not reproducible all the time, 3 out of 5.
Beta

Nightly

My guess is that making the delay slightly longer on this would fix this since it's intermittent 😕
I updated the delay to be a bit longer in AC, this should be fixed now!
Verified as fixed on Nightly 6/15 with the following devices:
- Samsung Galaxy S9 (Android 8)
- Pixel 3XL (Android 9)
- Samsung Galaxy Note 10 (Android 10)
- Nokia 6 (Android 7.1.1)
- Huawei MediaPad M2 (Android 5.1.1)