PBGUX/pb-design-system

Responsive nav menu with hamburger menu

jrnorrisjr opened this issue · 5 comments

The example in DS only shows icons and not the dropdown menus for nav items in the header that move to the hamburger menu when the browser is resized. Can you expand the DS example code to show how the dropdown menus work when moved from the header to the hamburger menu?

They would work the same as the menus on the current design system site (resize it to see). It's basically automatically handled by Bootstrap's CSS; the menus just fall under their header and expand.

See also http://getbootstrap.com/components/#navbar

I don't get it, it works for me. Here, the sample header is set to iPhone 7 size. Click "settings" opens the settings menu.

screen shot 2017-06-26 at 10 45 48 am

This is from https://designsystem.pitneycloud.com/#/web/patterns/demo/header

We did not optimize the push menus.

Yes but try the demo of the one that has the hamburger menu. There are no sub-menus when the icons move into the hamburger menu. In the example code for the demo it is dynamically adding the header icons but the example code just adds the icons and no dropdowns.

I know. we never did that one. we assumed people would use the header sample above, and combine it.