gridbugs icon indicating copy to clipboard operation
gridbugs copied to clipboard

Child elements with auto margin cause horizontal scrollbar if overflow changes from `hidden` to `auto` (Chrome)

Open LoveAndCoding opened this issue 8 years ago • 0 comments

Chromium BugTest Case

Chrome does not seem to recalculate the auto margin on child elements of an element with display: grid when the overflow changes from hidden to auto. This can cause a horizontal scroll bar to appear when the vertical scrollbar returns. Only an issue when there is vertical overflow that causes a scrollbar to appear.

May be related to #16

LoveAndCoding avatar Oct 19 '17 22:10 LoveAndCoding