Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDialog opened on page with scrollbars leads to invisiblity of the page in the background #17854
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What are you trying to do?
I want to open a dialog from a page. If the page has no scrollbars you can see the opened dialog and in the background you can still see the page.
If there are scrollbars on the page (for example when more data is displayed) and i open the dialog then the dialog is shown and the page is not visible in the background.
What troubleshooting steps have you tried?
I have already tried to find some hints in the DOM if something is different when the page is not showing but without success.
I also tried a dirty way and deactivating the scrollbars right before opening the dialog. But that didn't help either.
Also i tried to switch to CDK/Material: 8.2.3 but that had too many dependencies (including going to Angular 8) which led to nearly the whole applications appearance being broken.
Environment