Click outside is not hiding menu - PrimeNG 17 #1783
-
I have a problem when viewing on mobile devices, where the "click outside" is not hiding the menu. Gravacao.de.Tela.2024-04-27.as.15.54.04.mov |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Reading the PrimeBlocks implementation code I noticed a difference in the source code and in the code view on the Web. Source code: Web View: I included the source code implementation in my project and everything was resolved. |
Beta Was this translation helpful? Give feedback.
Reading the PrimeBlocks implementation code I noticed a difference in the source code and in the code view on the Web.
Source code:
<div id="app-sidebar-5" class="bg-gray-900 h-screen hidden lg:block flex-shrink-0 absolute lg:static left-0 top-0 z-1 border-right-1 border-gray-800 w-18rem lg:w-7rem select-none">
Web View:
<div id="app-sidebar-5" class="bg-gray-900 h-screen hidden lg:block flex-shrink-0 fixed lg:sticky left-0 top-0 z-1 border-right-1 border-gray-800 w-18rem lg:w-7rem select-none">
I included the source code implementation in my project and everything was resolved.