retejs / rete

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

Zoom not working in Firefox/IE #139

Closed axelf4 closed 6 years ago

axelf4 commented 6 years ago

Scrolling somewhat much with the mouse scroll wheel over the container and proceeding to right click to open the context menu causes uncaught exception: Infinity loop detected. Zooming in general is also defunct. The expected behaviour is that scrolling would zoom in/out.

The aforementioned issue has successfully been replicated in Firefox 61.0.1 and Internet Explorer 11.0.9600.19035CO. Zooming was a non issue in Google Chrome 67.0.3396.99 (64-bit). All using Windows 7.

The following library builds where used, however the problem persisted with rete@1.0.0-alpha.6 and rete-connection-plugin@0.1.2.

 <script src="https://cdn.jsdelivr.net/npm/rete@1.0.0-alpha.5/build/rete.min.js"></script>
 <script src="https://cdn.jsdelivr.net/npm/alight@0.14.1/alight.min.js"></script>
 <script src="https://cdn.jsdelivr.net/npm/rete-alight-render-plugin@0.1.2/build/alight-render-plugin.min.js"></script>
 <script src="https://cdn.jsdelivr.net/npm/rete-connection-plugin@0.1.1/build/connection-plugin.min.js"></script>
 <script src="https://cdn.jsdelivr.net/npm/rete-context-menu-plugin@0.1.1/build/context-menu-plugin.min.js"></script>
 <script src="https://cdn.jsdelivr.net/npm/rete-task-plugin@0.1.0/build/index.js"></script>

The "Programming a Messenger Bot" example also exhibited the issue.

Ni55aN commented 6 years ago

1253c53481000c5c404fd757be47bc720806b868

Release coming Soon

Ni55aN commented 6 years ago

https://github.com/retejs/rete/releases/tag/v1.0.0-alpha.7