Unable to scroll to the top of the modal when using a long text
See original GitHub issueWhen opening a modal with a long text inside, I’m unable to scroll at the top of the modal window, so the first part of the text is not reachable.
Example: https://jsfiddle.net/ad3quksn/158/
This issue was introduced with the last version 6.11.0
, because it works as expected for the previous versions.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (10 by maintainers)
Top Results From Across the Web
How to scroll the page when a modal dialog is longer than the ...
Try: .modal-body { max-height: calc(100vh - 210px); overflow-y: auto; }. It will arrange your modal and then give it an vertical scroll.
Read more >BAD – does not scroll - [Modal Window - WordPress.org
If you insert long text and set the height of the auto, there will be no text scrolling, you need to set the...
Read more >Issues with Modal scrolling/overflow sizing. #102 - GitHub
I am unable to scroll through the content. When I scroll it simply scrolls through the greyed out content behind it. I tried...
Read more >Prevent Page Scrolling When a Modal is Open | CSS-Tricks
If we know the top of the scroll location and add it to our CSS, then the body will not scroll back to...
Read more >-webkit-overflow-scrolling - CSS: Cascading Style Sheets | MDN
Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Unfortunately, no proper IE11 solution for now. Let’s keep this issue opened to be fixed later.
I’m trying to fix this properly, asked a question on StackOverflow https://stackoverflow.com/q/47029346/1331425
Hopefully the Community will help 💪