Closed felepp closed 4 years ago
Ok, after some more googling, I found a workaround/solution. Now everything looks fine. Is there a reason this is not in the default template?
@tracyjordan Just that I did not have the chance to test the workaround and check that it does not break something else in the layout. If you made some tests with it, you can always propose a pull request with the fix 😉
BTW, this is duplicate of #215
I'm submitting a...
Current behavior
Navbar is invisible on iOS device(s) when using Angular Material. Buttons are invisible, but are still clickable and function normally. Using Bootstrap with
fixed-top
navbar is working as expected.The issue seems to stem from the
mat-sidenav
setup and these styles inside of the header-/shell-componentYou can find many issues surrounding iOS and
fixed
elements. I've tried solutions to similar problems, but have reached the limitations of my CSS/Angular Material knowledge. If you don't have access to an iOS device, I'd be happy to test any possible solutions.Expected behavior
Navbar should be visible.
Minimal reproduction of the problem with instructions
ngx new
with Angular Material -> View on iOS deviceScreenshot
Tested with Safari, Firefox and Chrome on iPhone 7 with current iOS.
Environment