You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varwidth=window.innerWidth;varheight=window.innerHeight;varstage=newKonva.Stage({container: 'container',width: width,height: height,draggable: true,});stage.on('wheel',(e)=>{e.evt.preventDefault();console.log("Wheel event directly on stage does not work.");});document.getElementById('container').addEventListener('wheel',(e)=>{console.log('Wheel event on container works');});
Consider:
Reproduction: https://codepen.io/ajthinking/pen/ZYzRLpv
Not sure if this is an actual bug or my missunderstanding. Click works directly without going via container.
The text was updated successfully, but these errors were encountered: