retejs / rete

JavaScript framework for visual programming
https://retejs.org
MIT License
10.17k stars 653 forks source link

css transform: translate and scale not working in firefox #532

Closed unclexo closed 3 years ago

unclexo commented 3 years ago

Hi there!

Probably you may have noticed that CSS transform attribute's values: translate and scale are not working in Firefox but it's working on Chrome. I googled for the solution but I didn't get any. That's why I'm here. Please check out the following GIF. When I move the nodes then it's OK. But it goes crazy when I try zooming in or out.

Firefox version: 88 OS: ubuntu (16.04, 18.04)

Is there any workaround of this problem? Any help would be appreciated. Thanks in advanced.

css transform: translate and scale not working in firefox

Ni55aN commented 3 years ago

Which version of Firefox are you using?

I checked in version 79 and it works fine

unclexo commented 3 years ago

Thank you very much for the reply!

Firefox version: 88 OS: ubuntu (16.04, 18.04)

martin31821 commented 3 years ago

Same problem here, Firefox 90 and Arch Linux.

I tracked it down to mouse scroll events returning a negative/inverted value (?) on firefox, I can try to prepare a PR.