Skip to content

Click outside is not hiding menu - PrimeNG 17 #1783

Closed Answered by diegoarantes
diegoarantes asked this question in PrimeNG Blocks
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by diegoarantes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant