version: 0.17.5
Rotate not working on Firefox, I tested main demo its also not rotating
.on('rotate', ({ target, rotate }) => {
target.style.transform = 'rotate(' + r + 'deg)';
});
Seems like the problem is in new version's, I'm using version 0.15.2 but it does not have any problem with Firefox and other browser's.
The problem is with new version's of Firefox, in Firefox 68 everything works as expected!
@btir @masoudelahi
Oh thank you. Found the cause.
In firefox, an element with a width and height of 0 has an error that results in the left and top of getBoundingClientRect () being 0.
I'll release it soon.
It's working now,
Thanks for your awesome library
@masoudelahi @btir
moveable 0.17.6react-moveable 0.20.7preact-moveable 0.19.7ngx-moveable 0.13.7svelte-moveable 0.8.7Thank you so much @daybrush for your quick response!
Most helpful comment
@masoudelahi @btir
moveable0.17.6react-moveable0.20.7preact-moveable0.19.7ngx-moveable0.13.7svelte-moveable0.8.7