Closed Th1nkK1D closed 1 year ago
Hi, can I work on this?
Updating z-index
of filter panel solve the issue on mobile screen. However, on desktop, the filter panel will be in front of the navigation bar.
We can apply the z-index
only when on mobile screen, but the navigation bar is still in front of the filter panel on desktop.
What do we want to do in this case?
Updating
z-index
of filter panel solve the issue on mobile screen. However, on desktop, the filter panel will be in front of the navigation bar.We can apply the
z-index
only when on mobile screen, but the navigation bar is still in front of the filter panel on desktop.What do we want to do in this case?
Good catch. On the mobile, the filter should be in front of the navbar because it acts like a fullscreen pop-up. But on the desktop, filter should be behind the navbar because it's just an element in the body.
Good catch. On the mobile, the filter should be in front of the navbar because it acts like a fullscreen pop-up. But on the desktop, filter should be behind the navbar because it's just an element in the body.
If we leave the filter panel behind the navigation bar then we need to scroll down if we want to filter/close filter panel, is that acceptable?
I try experimenting with using the header show/hide logic to determine filter input location, what do you think?
What it's currently look like:
Kapture 2023-10-21 at 14.58.23.webm
What's my experiment look like:
I try experimenting with using the header show/hide logic to determine filter input location, what do you think?
Oh yeah, I forget that navbar behavior. Love your solution. It looks so smooth 🔥
Step to reproduce
Current incorrect behaviors
Filter button in the bottom left is barely visible. The background is missing. (This one also occurs in desktop size)
When opening the hamburger menu, the filter button is still showing.
Screencast from 2023-10-19 14-41-15.webm
Screencast from 2023-10-19 14-45-35.webm
Tested on Firefox and Chromium on Linux
Expectation
interactive-01
color. (See Figma)Starting point