Skip to content

fix(widgets): outline scalebox animation#120

Merged
prankstr merged 2 commits intomainfrom
fix/outline-scalebox-animation
May 5, 2026
Merged

fix(widgets): outline scalebox animation#120
prankstr merged 2 commits intomainfrom
fix/outline-scalebox-animation

Conversation

@prankstr
Copy link
Copy Markdown
Owner

@prankstr prankstr commented May 5, 2026

Since we don't use a CSS scale/transform animation when opening or closing a popover, the CSS outline could appear to "jump in" at the end of the animation when the popover reached its final size.

This PR makes ScaleBox draw a temporary outline during the animation when outlines are enabled. Once the popover is fully open, we hand off to the normal CSS border and remove the temporary animated outline.

@prankstr prankstr merged commit f81d915 into main May 5, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant