You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: OS X v10.11.6
Browser: Firefox v48.0.1
Bootstrap: v3.3.7
Description: if there is no modal, the input box can get focus; if clicks the button "Launch demo modal", the input box can not get focus any more.
Note: The modal should be high enough to show the vertical scrollbar.
JSBin: https://jsbin.com/xegenuzuve/edit?html,css,js,output
The text was updated successfully, but these errors were encountered:
Approximate duplicate of #12142. The workaround is to override the $.fn.Modal.prototype.enforceFocus method. #19850 tracks improving enforceFocus in v4.
We aren't likely to try to change v3 here, since it's in maintenance-mode, but the workaround is worth finally documenting properly, so recategorizing this as a documentation issue.
cvrebert
changed the title
Input[type=text] can not get focus in a fixed overlay over a large modal which has a vertical scrollbar.
Document when/how to override Modal's enforceFocus
Sep 1, 2016
All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4!
OS: OS X v10.11.6
Browser: Firefox v48.0.1
Bootstrap: v3.3.7
Description: if there is no modal, the input box can get focus; if clicks the button "Launch demo modal", the input box can not get focus any more.
Note: The modal should be high enough to show the vertical scrollbar.
JSBin: https://jsbin.com/xegenuzuve/edit?html,css,js,output
The text was updated successfully, but these errors were encountered: