Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GridItem.autoSize get the wrong width and height on Chrome128 #810

Open
AkonXI opened this issue Sep 11, 2024 · 0 comments
Open

GridItem.autoSize get the wrong width and height on Chrome128 #810

AkonXI opened this issue Sep 11, 2024 · 0 comments

Comments

@AkonXI
Copy link

AkonXI commented Sep 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant