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

Fix documentation about CSS.Transform.toString(transform) #27

Open
pschaub opened this issue Jul 10, 2023 · 1 comment
Open

Fix documentation about CSS.Transform.toString(transform) #27

pschaub opened this issue Jul 10, 2023 · 1 comment

Comments

@pschaub
Copy link

pschaub commented Jul 10, 2023

According to this issue you should use CSS.Translate.toString(transform) instead of CSS.Transform.toString(transform) to prevent scale transformation issues.

I would like to suggest to replace all CSS.Transform.toString(transform) in the documentation to CSS.Translate.toString(transform) as default. All examples in the clauderic/dnd-kit repository are also using this.

@leje512
Copy link

leje512 commented Jan 8, 2025

This works great! Are there any tradeoffs in using CSS.Translate.toString(transform) instead?

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

2 participants