Commit d6c73a6
committed
fix(popup): reduce width-adjustment flash in settings view
Two-pass scrollbar layout: .settings-content had overflow-y:auto which
triggered a scrollbar evaluation on every body width change, causing a
transient layout shift. Changed to overflow-y:hidden since the settings
panel never needs to scroll.
Compositor timing gap: even without the scrollbar evaluation, the browser's
1-2 frame lag between renderer and browser process popup window resize
remained visible. Added width:60ms transition to body.transitions-enabled
so each 10px step animates gradually (~2px/frame), making the timing gap
imperceptible.1 parent 874712b commit d6c73a6
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
1028 | 1031 | | |
1029 | 1032 | | |
1030 | 1033 | | |
1031 | | - | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
1032 | 1038 | | |
1033 | 1039 | | |
1034 | 1040 | | |
| |||
0 commit comments