Mousewheel not working with pixi 5.3
See original GitHub issueAfter updating to pixi 5.3 I’m getting errors when using the mouse wheel
Uncaught TypeError: can't access property "parentElement", this.interactionDOMElement is null
mapPositionToPoint InteractionManager.ts:1143
getPointerPosition input-manager.js:191
handleWheel input-manager.js:213
wheelFunction input-manager.js:44
addListeners input-manager.js:45
InputManager input-manager.js:24
Viewport viewport.js:143
Happens on Firefox and Chrome
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Mouse Wheel event handling · Issue #634 · pixijs/pixijs - GitHub
I'm making a game with a big zoomable map, and i want to zoom in/out with the pinch gesture or the mouse wheel....
Read more >React PIXI pt.2 — Viewport - Jason - Medium
A highly configurable viewport/2D camera designed to work with pixi.js. Features include dragging, pinch-to-zoom, mouse wheel zooming, ...
Read more >Rotate with mouse wheel - Pixi.js - HTML5 Game Devs Forum
Is it possible to use mouse wheel for game object rotation? How can I do this? Thank you.
Read more >Pixi3D - v2.1.1
Pixi3D. Pixi3D is a 3D rendering library for the web. It's built on top of PixiJS (which is at it's core, an established...
Read more >Smooth page scrolling with TweenMax - GSAP - GreenSock
Hi Guys,. I stumbled on this post http://bassta.bg/2013/05/smooth-page-scrolling-with-tweenmax/ and implement the script there but not the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yup that worked. Thx!
@spassvogel I just pushed a patch, instead of re-instantiating the Interaction Manager, it now updates the
resolution
. Can you give it a spin and tell me if the issues is fixed?https://github.com/inlet/react-pixi/releases/tag/v5.0.4