Commit 580eb4b
fix: use consistent width measurement (clientWidth) for compact composer footer check
The initial compact-mode check used composerForm.clientWidth (includes padding)
while the ResizeObserver callback used entry.contentRect.width (content-box only).
This inconsistency could cause a flash near the breakpoint if the form element
ever acquires padding. Use composerForm.clientWidth in both places for consistency.
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>1 parent b4d1a69 commit 580eb4b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1928 | 1928 | | |
1929 | 1929 | | |
1930 | 1930 | | |
1931 | | - | |
| 1931 | + | |
1932 | 1932 | | |
1933 | 1933 | | |
1934 | 1934 | | |
| |||
0 commit comments