Topic: Modal with long content causes background to scroll...

sales pro asked 5 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.

Kamil Paciepnik free answered 5 years ago


Thank you for reporting the problem. We will look at it and find the best solution. Regards

sales pro answered 5 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 5 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

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags