SlideMenu's submenu position is changing when scrolling #404
-
I'm trying to create a slidemenu in the header of my app. I've just created I've attached a button to it like this:
But when I scroll down the page, my submenu also goes down. What is happening here? |
Beta Was this translation helpful? Give feedback.
Answered by
smh53
Nov 7, 2023
Replies: 1 comment
-
Nevermind, found the solution: Using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
smh53
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind, found the solution:
Using
appendTo="body"
in the<p-slideMenu class="layout-topbar-menu" #menu [model]="items" [popup]="true" ></p-slideMenu>
solved the issue.