-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic scroll on Input focus in Modals doesn't work on Android Chrome #17338
Comments
Per CONTRIBUTING.md, bug reports should include an isolated example of the problem with instructions (as necessary) for us to reproduce the problem. The following can be used as a template on JSBin if that would be helpful. Thanks for your understanding and cooperation! |
What version of Android and what version of Chrome? |
Thx for the reply, i updated the jsbin: Now if you focus one of the inputs the browser scrolls to a position where the keyboard is below the input field so you can see it while you typing. Now open the Modal and try the same, on the Nexus that doesn´t work as expected. Android Version: 5.1.0 |
Is there any news about this? Can you confirm the issue? |
@twbs/team Anyone have an Android device to test this with? |
Forked for permissions reasons: http://output.jsbin.com/milofi/1 |
Hi @cvrebert! You appear to have posted a live example (http://jsbin.com/milofi/1/edit), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
With those row errors fixed: http://output.jsbin.com/yihawi |
Confirmed in Chrome 49.0.2623.91 on Android 5.1.1. |
Tried making the scrollable layer taller to see if that would allow Chrome to scroll: http://output.jsbin.com/kirevu/quiet |
Filed Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=595210 |
https://crbug.com/595210 Closes #17338 [skip sauce]
Add Wall of Browser Bugs entry for #17338 [ci skip]
could I know if there is any Work-around of this issue? |
Does anyone know how to fix or work around this? |
Issue is assumed to be fixed since Chrome 67 (see the last comments in the filed Chrome bug). |
Hi,
we got a couple of longer modals with forms. When you focus a input the browser automatically scrolls to a position where you can see the input and the keyboard.
That works on the Nexus 6 like a charm on our normal inputs, but on the inputs inside a modal it doesn´t do anything on the first focus when the keyboard gets visible.
Any suggestions?
Cheers
The text was updated successfully, but these errors were encountered: