bramus / bramus/scroll-driven-animations-debugger-extension

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

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
59
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the debugger view with a CSS animation using translateX or translateY, then inspect the CSS/DOM that renders the gray and blue boxes and their selector labels. Done means overlapping boxes no longer make the repeated labels unreadable while the transparent boxes remain visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.