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

Repeats the CSS selector (class names) twice - it's a problem if translate animation is used #37

Open
ADTC opened this issue Mar 15, 2025 · 0 comments

Comments

@ADTC
Copy link

ADTC commented Mar 15, 2025

This is what happens if translateY or translateX etc are used.

Image

Becomes unreadable if they overlap:

Image

I think only the blue box (translated position) should have the name. The gray box shouldn't, since it's the original position. Or the gray box should only show the label if the blue one translated far enough to avoid overlap.

Or use some CSS or DOM hackery to make the label have an opaque background somehow without affecting the box transparency so that you can still keep both labels, but avoid the overlap problem, while still keeping the boxes transparent.

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