Confused on how non-console demo top nav works for mobile display #1532
-
Hi, I am trying to implement something very similar to the top navigation bar featured here: https://cloudscape.design/examples/react/non-console.html However, I noticed that when the display is shrunk down to mobile, the hamburger menu icon seems to be pushed down below the header, to allow for the menu list to properly show below the top navigation bar. Unfortunately, this does not work out-of-the box with the Top Navigation component, and I cannot find where or how to make this work like in the demo (i checked the base.scss and top-navigation.scss, but it is not clear how this is applied). Here is the problem I am running into: https://www.youtube.com/watch?v=S29G3D53P7M |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello Nico, thanks for providing a lot of details about your problem and also a video! I have also passed your feedback about the demos code. As far for the problem you are mentioning, the |
Beta Was this translation helpful? Give feedback.
Hello Nico, thanks for providing a lot of details about your problem and also a video! I have also passed your feedback about the demos code.
As far for the problem you are mentioning, the
AppLayout
component has a property calledheaderSelector
, can you make sure that you are passing it the same selector applied to your top navigation?