fix(app): stop composer height flicker
Native scrollbar appearance changed the textarea's usable width, feeding alternating measurements back into the composer height mirror. Reserve the gutter so wrapping and height remain stable.
This commit is contained in:
@@ -19,6 +19,10 @@ export function installWebScrollbarStyles(): () => void {
|
||||
scrollbar-width: ${WEB_SCROLLBAR_WIDTH};
|
||||
}
|
||||
|
||||
[data-composer-input] {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
width: ${WEB_SCROLLBAR_SIZE_PX}px;
|
||||
height: ${WEB_SCROLLBAR_SIZE_PX}px;
|
||||
|
||||
Reference in New Issue
Block a user