-
-
Notifications
You must be signed in to change notification settings - Fork 317
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 problem when when using transform: scale() #110
Comments
@mfma Could you please provide reproduced project on webpackbin with latest version rnd? https://www.webpackbin.com/bins/-Ku4nRhImIfnt9N08lGu |
See example below where I've added a "transform:scale()" to parent div. |
@ryanlegler Thanks. If you set See related issue, #185 |
@bokuweb thanks for your response - I think the issue described here is slightly different than the related issue you linked to. The scale in question is on a parent div of the react-draggable component. The issue isn't that the scale is overwritten, it's that the pixel calculation made by react-rnd are incorrect because of the scaled context that it's in. From digging around a bit i found this: https://github.com/mzabriskie/react-draggable/pull/217/files Looks like this issue is being looked at. Hopefully the pull request will get merged in so the scale param could be exposed in react-rnd. |
Any news? |
Doesn't look like that PR has been merged yet 😢 would love to see this! |
Would love to get this one merged too. Any updates? |
I was hoping as an escape hatch that this would work, but alas, it does not...
there appears to be no way around it. |
+1. Still can't solve this problem |
The scale prop has been implemented in react-draggable and re-resizable bokuweb/re-resizable#388 |
Is this going to be fixed anytime soon? Do you need any assistance to make this fix? |
Hi! Can we update the |
@mfma @ryanlegler @koutsenko @g33kidd @gaddafirusli @travisdahl @kv9991 @cadrell0 @AhmedSayed77 @mecawish Sorry for late. Please try v9.1.1. |
Working now. Thank you so much, @bokuweb ! |
expect support rotate |
i can't use rotate when i use Rnd |
good! |
When the parent box add "transform:scale()", rnd is incorrect to drag or resize it。
The text was updated successfully, but these errors were encountered: