You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've implemented a dropdown menu as suggested by the Materialize documentation Navbar Dropdown Menu
I've extended the setup with the sideNav component
The dropdown HTML element is only appended next to the latest triggering element on the page
When activating the dropdown trigger from the desktop nav, this results in the dropdown component is not being visible to the end user, since the sidenav is not opened at this state. When you activate the sidenav in mobile mode, the dropdown is functioning as expected
Expected behavior
The dropdown element should be visible, in any case, when a trigger for the element is activated
Possible Solutions or Causes
As it would be possible to workaround by adding an additional dropdown with exactly the same items but with a different id and data-target, this would be a very dirty workaround
Ideally we should analyse possible solutions on how this could be fixed
within the nav and sidenav setup and without affecting the dropdown component since it has a broader usage
with a single dropdown component declaration that is triggered from nav and sidenav
Steps to reproduce
Implement the nav and sidenav component
Implement a single dropdown component
Implement the dropdown trigger link in nav and sidenav
Your Environment
Version used: 2.1.1
The text was updated successfully, but these errors were encountered:
Before submitting...
Context
Implementing a dropdown button inside navbar and sidenav results in not showing the dropdown menu when clicked on desktop version.
Codepen
Materialize navbar sideNav Dropdown
Current Behavior
I've implemented a dropdown menu as suggested by the Materialize documentation Navbar Dropdown Menu
I've extended the setup with the sideNav component
The dropdown HTML element is only appended next to the latest triggering element on the page
When activating the dropdown trigger from the desktop nav, this results in the dropdown component is not being visible to the end user, since the sidenav is not opened at this state. When you activate the sidenav in mobile mode, the dropdown is functioning as expected
Expected behavior
The dropdown element should be visible, in any case, when a trigger for the element is activated
Possible Solutions or Causes
As it would be possible to workaround by adding an additional dropdown with exactly the same items but with a different id and data-target, this would be a very dirty workaround
Ideally we should analyse possible solutions on how this could be fixed
Steps to reproduce
Your Environment
The text was updated successfully, but these errors were encountered: