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

List item css ignored and background becomes transparent when mouse is over input field #220

Closed
wwmike opened this issue Apr 2, 2024 · 1 comment

Comments

@wwmike
Copy link

wwmike commented Apr 2, 2024

Hello!

I have a strange issue. once I hover over the input with the mouse, items go behind the layer below. Is this something the component does?

I simplified my item slot to a minimal one:

		<div slot="item" let:item >
			<!-- <ProfileCard user={item} /> -->
			<p class="text-sm font-medium text-gray-900 truncate profile-name py-11 z-50">
				{item.name}
			</p>
		</div>

but it didn't help. I don't have any custom :hover css.

This is how it looks when the mouse is over the input box:

image

And this is when it's somewhere else:

image

The issue is browser independent, Chrome and Firefox does it too, only difference is that it flickers in Chrome.

Thank you,
Mihaly

@wwmike
Copy link
Author

wwmike commented Apr 2, 2024

I found the issue.

It's kinda weird, the text, which popped up from behind was in a span, which had opacity-90, and it messed up the layer order.

Anyway, closing the issue as it seems like it's a rendering bug.

@wwmike wwmike closed this as completed Apr 2, 2024
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

1 participant