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

Single proximity threshold #1019

Closed
itsmeipg opened this issue Nov 18, 2024 · 1 comment
Closed

Single proximity threshold #1019

itsmeipg opened this issue Nov 18, 2024 · 1 comment

Comments

@itsmeipg
Copy link

itsmeipg commented Nov 18, 2024

After messing around with proximity in/out values for an eternity, I feel like the smoothness of the menu becoming fully opaque depends on how fast or slow I move my mouse, which makes me paranoid to not move my cursor too slow lol. Is it possible to add an option to allow one proximity threshold, which when passed, fades the elements in/out. I've managed to implement this (with the help of AI 😭) and I'm liking it so far.

Here's what it looks like:

a.webm
@tomasklaen
Copy link
Owner

I feel like the smoothness of the menu becoming fully opaque depends on how fast or slow I move my mouse, which makes me paranoid to not move my cursor too slow lol.

Element reveal is not affected by cursor speed, only proximity, so I'm not sure what you're referring to.

And I like the responsiveness of current implementation. With your fadein proposal, it'd be possible to quickly move above an element, and then have to wait until it animates in. I'd hate that. With proximity, element is always 100% revealed when mouse is above it.

So, not planning on switching to this.

@tomasklaen tomasklaen closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 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

2 participants