material
material copied to clipboard
nav-bar: should scroll on mobile devices
Actual Behavior:
What is the issue? *On mobile devices, md-nav-bar does not scroll horizontally, so the nav bar content is cut off and cannot be accessed on screens with smaller widths.What is the expected behavior?The md-nav-bar should scroll when tapping and holding.
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:Not needed.Details:
Angular Versions: *
Angular Version:1.5.9Angular Material Version:1.1.1
Additional Information:
Browser Type: *ChromeBrowser Version: *55.0.2883.87OS: *Ubuntu 16.04Stack Traces:
This can be reproduced on the demo page.
However, in cases where you have embedded content you should use md-tabs and in cases where you need to have navigation items, you should probably use the Transform pattern on mobile to move the navigation to a sidenav or a top nav with a menu overflow.
It would be nice if md-nav-bar could be tweaked to support something like bottom navigation, however that's not something that's in scope for AngularJS Material. Angular Material may eventually have a component that does this, but it's likely quite a ways out (no ETA).