[BUG] - Why my navbar set index-9999 but Card of nextui always on the top ? Same with other component #2952
Unanswered
ngodacthien
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im use framermotion for sidebar show left to right in left screen.
![image](https://private-user-images.githubusercontent.com/12473844/327994619-9c223067-c9bb-4f7b-b82d-d2670dd0b56a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTA4ODcsIm5iZiI6MTczODk1MDU4NywicGF0aCI6Ii8xMjQ3Mzg0NC8zMjc5OTQ2MTktOWMyMjMwNjctYzliYi00ZjdiLWI4MmQtZDI2NzBkZDBiNTZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDE3NDk0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRiYTEwZWVjMTY0OTI1NGRhMWNlMjhhMjJlMTg2NTk4MDRiYjFlMjVhYjBiYmY4MGI1MzM0ZGVkM2ZjYTE1NmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.a3VcXoSawLQ-M04wP93tIJ-v_buGbyJHetO9-5g6cTg)
Sidebar have absolute and z-0.
My content in right screen have relative and z-50.
But when animation show sidebar, style have bug show component of nextui: card, input, button - first and after the styles is correct after. How i can fix for animation for smooth.
In my image, when i click toggle in top menu, top menu will opacity 0, x: -100, after sidebar will show y : 0, opacity : 1.
Beta Was this translation helpful? Give feedback.
All reactions