-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modal hides when scrolling with scrollBar #5893
Labels
Comments
woricek
added a commit
to woricek/ngx-bootstrap
that referenced
this issue
Aug 6, 2020
This was referenced Jan 26, 2021
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description: When text in modal is longer than the height of the page, it is scrollable. When scrolling with mousewheel everything works. When you move scroll with mouse, it is registered as clickedInBackdrop in ModalContainerComponent. Because scrollbar is part of the modal-container element. This hides the modal (when you dont set ignoreBackdropClick to true).
Plunker/StackBlitz that reproduces the issue:
Just add many lines of text to basic modal in demo page and you can reproduce the issue.
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: 5.6.2
Expected behavior
Clicking inside scrollbar should not hide modal.
The text was updated successfully, but these errors were encountered: