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
{{ message }}
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.
Trying to have multiple sidebars within 1 page, could say a nested sidebar.
If I open each one of them everything works as expected, but when I close either one it also triggers the closing of the other sidebar. I changed the _opened variable name for one of them, and also the _toggleSidebar method name so it probably shouldn't be triggering for both of them.
Is there any way to overcome this?
The only workaround I've been able to come up with is by enabling the closeOnClickOutside to true on both of them, so it will close if clicked outside each one of them. But if I wanted to have this feature disabled then that's where the issue comes in.
The text was updated successfully, but these errors were encountered:
Hey there Arkon, thanks for the quick response.
Yes, I'm using the closeSidebar directive, you're right. That's when it triggers the close for both sidebars even if the variable and method names for each of those are different.
Trying to have multiple sidebars within 1 page, could say a nested sidebar.
If I open each one of them everything works as expected, but when I close either one it also triggers the closing of the other sidebar. I changed the _opened variable name for one of them, and also the _toggleSidebar method name so it probably shouldn't be triggering for both of them.
Is there any way to overcome this?
The only workaround I've been able to come up with is by enabling the closeOnClickOutside to true on both of them, so it will close if clicked outside each one of them. But if I wanted to have this feature disabled then that's where the issue comes in.
The text was updated successfully, but these errors were encountered: