sveltejs / svelte.dev

The Svelte omnisite
https://svelte.dev
109 stars 65 forks source link

Playground editing can cause scrolling if zoom level is not 100% #483

Closed brunnerh closed 3 weeks ago

brunnerh commented 4 weeks ago

Only seems to happen with significant zoom, e.g. 150%.

Example code

E.g. when I try to edit the animation parameters of line 30 in List.svelte:

<label animate:flip={{ delay: 300, duration: 100, easing: quintOut }}>

Every keystroke sends the scrollbar further down.

7b937db4-a731-4834-a9c4-bba84b4683a8.webm

Chrome & FF, Windows 10.

Rich-Harris commented 3 weeks ago

closed via #597