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

The grids cann't be controlled correctly when using effects transform: scale(n)" css #430

Closed
codestepwell opened this issue May 20, 2020 · 8 comments

Comments

@codestepwell
Copy link

Thank you for your work, this is a great plugin. I have a problem in use, because of some needs, when I use the effect "transform: scale(1.5)" css on its parent DIV container, I can't control it properly, such as stretching or moving. Is there any way to solve this problem? Thank you very much for your attention.

感谢您的工作,这是一个如此棒的插件。 由于某些需求,我在使用中遇到问题,当我在其父DIV容器上使用效果“ transform:scale(1.5)” css时,无法正确控制它,例如拉伸或移动。 有什么办法解决这个问题请? 非常感谢您的关注。

@lustan3216
Copy link
Contributor

Same problem here

@misa-lili
Copy link
Contributor

+1

@misa-lili
Copy link
Contributor

react-grid-layout has prop transformScale

// If parent DOM node of ResponsiveReactGridLayout or ReactGridLayout has "transform: scale(n)" css property,
// we should set scale coefficient to avoid render artefacts while dragging.
transformScale: ?number = 1,

@gmsa
Copy link
Contributor

gmsa commented Nov 23, 2020

@adt-hgkim can you submit a PR based on the react-grid-layout implementation?

@misa-lili
Copy link
Contributor

@gmsa OK

@misa-lili
Copy link
Contributor

misa-lili commented Nov 23, 2020

@gmsa #505 PR here :)

@gmsa
Copy link
Contributor

gmsa commented Aug 3, 2022

merged and included on release 2.4.0

@songispm
Copy link

songispm commented Oct 4, 2022

Can you merge the recent new featuress (like this) to vue3 and release a new vue3.0 beta? Thanks. @gmsa

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

No branches or pull requests

5 participants