Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steps layering (possibly z-index-related) display bug #417

Open
brandonmcconnell opened this issue Jun 30, 2024 · 2 comments
Open

Steps layering (possibly z-index-related) display bug #417

brandonmcconnell opened this issue Jun 30, 2024 · 2 comments

Comments

@brandonmcconnell
Copy link
Contributor

I am using Steps and copied the Pagination Integration example from the docs verbatim but see this:

It appears this resolves if the ::before parent (where the [counter-increment:step] utility is applied) also receives a z-index utility like z-1. isolate on the Steps root would also prevent needing to fight against the z-index layering later.


I am running svelte-ux v~0.70.0

@techniq
Copy link
Owner

techniq commented Jun 30, 2024

Hey @brandonmcconnell, that's interesting. I wonder if there is also some external styling bleeding in, or an older version of tailwind causing a conflict (I had this initially since the component leverages size-, but I can't think of anything stacking/z-index related here.

I know the Daisy UI implementation used z-index, and I'm fine with adding it here with isolate to keep it scoped, but curious what might be the difference between the docs and your project.

image

@brandonmcconnell
Copy link
Contributor Author

@techniq Yeah, I'm curious about that too. I'll investigate some more and respond to this thread later this week if I find something. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants