-
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 registers scroll bar click as backdrop click and closes #5810
Comments
i raised this issue long time ago and it still there on the newest version |
The same issue here, in vanilla Bootstrap everything works fine, but with ngx-bootstrap I could reproduce an issue even in example on the website: https://valor-software.com/ngx-bootstrap/#/modals#scrolling-long-content ngx-bootstrap: 5.6.1 |
If I try to change the version of the exemple website the problem start happening in release 5.5.0 (https://valor-software.com/ngx-bootstrap/old/5.5.0/#/modals#scrolling-long-content), 5.4.0 was fine (https://valor-software.com/ngx-bootstrap/old/5.4.0/#/modals#scrolling-long-content). |
is there any news fo this bug ?? |
How are the things today? |
It seems there is a duplicate of this issue on #5893 that provides a fix in the commit 87e7df8e9bdf5d7269bc3727286f2576a2a4273e |
My bad, it seems the fix proposed doesn't actually work. When looking more into the problem, it appears that on some browsers (for ex Chrome 87 on mac) the scrollbar appears above the content without modifying the layout, thus equating scrollbar click and backdrop click. Coincidentally other librairies relying on bootstrap seem to have had the exact same problem, and have fixed this issue by replacing |
Any news on that case? |
@Hleb-Chupin the fix has been merged, it will be available in the next version of the library (I suppose) |
Still issue in version 8.0.0, showing merged but still not working in current version, last working in version 5.4.0 then after issue in all versions, this is critical issue, large height modal is not usable without fix, need to take as priority and release in next sub version |
Modal registers scroll bar click as backdrop click and closes. On modals with long content I can scroll with the trackpad and/or mousewheel just fine, but when I click and drag the browser's scrollbar the modal closes.
Happens on the documentation page: https://valor-software.com/ngx-bootstrap/#/modals#scrolling-long-content
ngx-bootstrap: 5.6.1
Angular: 9
The text was updated successfully, but these errors were encountered: