I am currently using twitter bootstrap 3 modal on mobile. It works perfectly fine on desktop, however on mobile whenever I scroll it also scrolls the window behind the modal. How do I prevent this from happening?
相关问题
- How to add a “active” class to a carousel first el
- Full Clickable Accordion in Bootstrap
- Get value of selected option using jquery [duplica
- How to add Bootstrap 4 without Tether?
- Laravel overriding bootstrap template
相关文章
- Twitter Bootstrap Prints In XS
- Make Bootstrap tab Active on the bases of URL link
- Rails: Twitter Bootstrap Buttons when visited get
- Reduce spacing between rows
- How do use bootstrap tooltips with React?
- Need to design 8 boxes in two rows
- Why should I start using Google Material Design Li
- How to disable content based on checkbox in Angula
Interestingly enough, they address this in the docs without offering much in the way of a solution:
"Support for overflow: hidden on the
<body>
element is quite limited in iOS and Android. To that end, when you scroll past the top or bottom of a modal in either of those devices' browsers, the<body>
content will begin to scroll."http://getbootstrap.com/getting-started/#overflow-and-scrolling