Topic: Modal with long content causes background to scroll...
sales pro asked 7 years ago
I have noticed that when I have a modal with long content, scrolling the modal can result in the main site scrolling when I reach the top or bottom of the modal, but continue to scroll.
It appears that the body.modal-open CSS declaration preventing this behavior is being overwritten by mdb.css:
body.modal-open {
overflow: inherit;
padding-right: 0 !important; }
body {
overflow: auto !important; }
... is overwriting the bootstrap declaration...
.modal-open {
overflow: hidden;
}
Does this appear to be a bug? Thanks.
Add comment
Kamil Paciepnik free answered 7 years ago
Thank you for reporting the problem. We will look at it and find the best solution.
Regards
sales pro answered 7 years ago
Are you an MDB developer? This does not answer the question. I know how to solve the problem. This appears to be a problem with MDB and I am reporting it.
Kamil Paciepnik free answered 7 years ago
Hi sales,
normally it has to look at us as you describe the beginning. Of course you can change it. They will help you with that information on this site.
Regards
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags