Closed ZeeL981210 closed 1 month ago
Yep, it's a little tricky since currently most of the stacking logic with the exception of the sticky bar is handled via stacking context. I think I would have to modify the pliny component to allow letting the user specify their own classname so the relative z-index can be better managed
Thank you for the reply. I think that's a great way to solve the problem.
Fixed in pliny v0.4.0. I decided to add a z-index: z-50
to the overlay instead.
Describe the bug Please see the figure below:
I suppose the header shall be hidden in such case, which the searching section is popped. And also in this case, if you click the search button once-more, all the components are shifted to the left upon each click.
To Reproduce When configure
stickyNav
totrue
insiteMetadata.js
, it allows the header to stick on top of the pagesiteMetadata.js
stickyNav
to trueExpected behavior Normally the header should be blured as shown in the figure below:
Additional context I attempted to fix it, but I failed. My best guess is that this issue is related to
that in
Header.tsx
, because when I modify thez-index
to smaller than10
, this specific issue get fixed, but it will cause the code block/media player float over the header.Hope all above helps.