Is anyone experiencing layout issues after upgrading to Chrome 72?

大兔子大兔子 提交于 2019-11-29 03:19:40

Looks like Chrome renders flex boxes with overflows differently since v72. At least parts of those changes were intentional to make Chrome more compliant to the spec and other browsers.

See this issue for details: https://bugs.chromium.org/p/chromium/issues/detail?id=927066

Update:

We've heard you loud and clear and have decided to revert the change in Chrome 72 to avoid breaking existing sites and to allow developers a bit more time to update their pages.

The change will instead ship with Chrome 73. As such it's still important to make the required changes to avoid breaking it in future versions of Chrome and to ensure compatibility with Firefox.

2019-02-05 22:44:28 UTC

Seems like this shipped in Chrome 73, confirmed by a.xin's answer above.

The quick and dirty fix that worked for me is adding "min-height: 0" to all of the flex children.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!