Replies: 6 comments 1 reply
-
The code you provide don't really help for trying to get to the problem, but from the code of your example there's a conflict when you use |
Beta Was this translation helpful? Give feedback.
-
I have a similar issue, when I have multiple elements with drop shadows beneath each other and an absolute element within the first drop shadow box. I created the example here: https://play.tailwindcss.com/MOKMGLU14A In my real world use cases I have 2 static boxes beneath each other, that have a drop shadow and within these boxes I have a dropdown menu. As I figured out is that |
Beta Was this translation helpful? Give feedback.
-
I ran into the exact same issue as Jalyna. Did not find any clean workarounds, so ended up replacing all instances of drop-shadow with regular shadow, which doesn't use a filter. Probably overkill, but it was a PITA to figure out that it was shadows causing issues for absolutely-positioned dropdowns. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. In my case, I added a custom class drop-shadow-glow to highlight available items. But it breaks z-index, so dropdowns from these items hide behind other items with drop-shadow-glow. I have not found a solution yet. |
Beta Was this translation helpful? Give feedback.
-
Same issue :( |
Beta Was this translation helpful? Give feedback.
-
I've encountered the same issue within a full application where a drop shadow was used on the header and other elements, my workaround has been using the Vue.js teleport functionality to make sure the modal or aside was rendered above the drop shadow. I haven't been able to recreate a reproduceable stack. |
Beta Was this translation helpful? Give feedback.
-
"tailwindcss": "^2.2.4",
NextJS 11.+
We have created a next.js app and have a hamburger slider style menu. Issue is that when slider snaps over anything with drop-shadow-?? appears above the slider. If we uncheck --tw-filter or change the css style to just shadow it works fine.
Any ideas? I thought i saw and absolute placement one time but currently do not see it.
Beta Was this translation helpful? Give feedback.
All reactions