vue-grid-layout icon indicating copy to clipboard operation
vue-grid-layout copied to clipboard

GridItem.autoSize get the wrong width and height on Chrome128

Open AkonXI opened this issue 1 year ago • 0 comments

Software version (please complete the following information):

  • Browser chrome 128
  • Vue Version 2.7.16
  • vue-grid-layout Version: 2.4.0

Describe the bug

https://developer.chrome.google.cn/release-notes/128#standardized_css_zoom_property

Since version 128 of Chrome, Google has made changes to some JavaScript APIs (eg. getBoundingClientRect) to standardize CSS zoom . This resulted in autoSize incorrectly obtaining the width property during calculation.

Expected behavior Item.autoSize function can change size correctly

AkonXI avatar Sep 11 '24 05:09 AkonXI