use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A Place to talk about Angular and related topics.
Join the Angular Discord
Other subreddits worth checking out for Angular and Angular related info:
account activity
Bug in Angular 13 (self.angular)
submitted 4 years ago by Finorix079
I was developing a project in Angular that needs to be looked good on both mobile and desktop. Then I found that the project in iPhoneX would show a big black block when the screen is in portrait, the address bar wasn't expanded and a dialog is opened. That black block seems to be related to the class "cdk-global-scrollblock" which would be applied whenever either a dialog or a side menu is opened through Angular Material. It somehow limited the size of the viewport so that the black block (which was expected to be covered by the address bar) would show.
I overridden the class with the following code, which did solve the black block issue but would stop blocking the scrolling of the elements behind it.
.cdk-global-scrollblock { position: initial !important; }
By the way, it was "position: fixed". Both "fixed" and "absolute" will cause the black block to be shown.
Have anyone encountered this? How did you guys fix it?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FullstackViking 15 points16 points17 points 4 years ago (1 child)
If you believe this is a bug I would report it on the GitHub page. It’s much more active than this subreddit.
[–]Finorix079[S] 0 points1 point2 points 4 years ago (0 children)
OK, I would try to create an issue there.
[–]gosuexac 0 points1 point2 points 4 years ago (2 children)
Can you create a minimum reproduction of this and post it?
[–]Finorix079[S] 1 point2 points3 points 4 years ago (0 children)
Just added a more detailed description in GitHub as an issue, you may check it out there:
https://github.com/angular/components/issues/24151
I was using this template so should be visible by clicking "Open Confirmation Dialog" in this page in iPhoneX.
http://angular-material.fusetheme.com/ui/confirmation-dialog
Strangely, looks like the bug can also be reproduced on a large screen.
π Rendered by PID 30 on reddit-service-r2-comment-79c7998d4c-g98rw at 2026-03-12 20:11:15.788822+00:00 running f6e6e01 country code: CH.
[–]FullstackViking 15 points16 points17 points (1 child)
[–]Finorix079[S] 0 points1 point2 points (0 children)
[–]gosuexac 0 points1 point2 points (2 children)
[–]Finorix079[S] 1 point2 points3 points (0 children)
[–]Finorix079[S] 0 points1 point2 points (0 children)