problem with drawer and fixed or sticky thing. #7718
Unanswered
seoyoon-sago
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone. This is my first time posting a question online, and to be honest, I was a bit afraid to ask.
But I’ve been struggling with this issue for a while and really need help 😭
I'm trying to make a sticky horizontally-scrollable card section at the bottom of the browser.
The tricky part is that the page also has a
Drawer
component that is always open, and the card section is outside the drawer content — meaning it visually overlaps with it, but it’s not inside the drawer's DOM.Initially, I couldn’t interact with the cards at all (click/scroll didn’t work),
but then I added
pointer-events-auto
to the container, and interactions started working.However, now I need to scroll the cards horizontally, and that’s where I’m stuck.
Here’s a simplified version of the code:
Beta Was this translation helpful? Give feedback.
All reactions