Hey all, I’m trying to make the top navigation bar on this screen ( the ‘SubmissionNavbar’ component) sticky but it’s not working for some reason. I’ve tried to do so both through the Plasmic UI studio and through React code according to this video, but both options don’t seem to work. Let me know what you think I should do.
Hi! It’s because sticky
makes it stick to the closest ancestor with a scrolling behavior set. Right now that’s on the vertical stack that’s the parent of SubmissionNavBar, and on the root element. If you remove the overflow style from both elements, then it should stick to the html body
Sounds great, thanks!