Closed iongion closed 2 months ago
Looks like this is a problem in the re-resizable lib, react-rnb using it.
I am having the same problem. Has a solution been found yet?
@iongion Thanks for your report. I'll do some investigation.
I also have this problem, have you found any solution? @iongion @juanhobello @bokuweb
@apracode I am sorry, I am just putting up with it for now as the project I am using it into has a lot of other things to be done. I hope I can return at a certain moment and dig deeper. If it is a bundler issue, might be a css issue or some dead code elimination ... needs investigation.
I found downgrading to 10.1.10 fixed that wobble effect. Completely accidental discovery - the demos and examples I could find online that covered what I was looking for were using that version, and it worked. Newer versions have the wobble.
I confirm. Downgrading to react-rnd@10.1.10
fixes the issue.
The latest version which works without this bug is: "react-rnd": "10.4.4"
put exactly like this in your package.json.
@bokuweb This bug is reproducible on version 10.4.5 but with 10.4.4 everything works fine. So bug occurred on version 10.4.5.
@valerii15298 Thanks.
@iongion @valerii15298 @steviant @apracode @juanhobello @vadimkhrapov
We have fixed the issue. This problem occurred in versions 10.4.5 and later, regardless of Vite. Please use version 10.4.12. If the issue recurs, please reopen the ticket.
Overview of the problem
I'm using react-rnd version [10.4.11]
My browser is: Any browser
I am sure this issue is not a duplicate? YES
Reproduced project
Description
When the bundler is
vite
https://vitejs.dev/When the bundler is
react-scripts
https://www.npmjs.com/package/react-scriptsSteps to Reproduce
In 1 is wrong, in 2 is correct
Expected behavior
Not to have that shaking effect when resized from left or top even when using vite bundler
Actual behavior
Strange shaking / wobbling when resizing