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
HI.
when the ReactSketchCanvas is inside a scrollable component, the ReactSketchCanvas component prevents dragging to reach the parent element. and it is ok if allowOnlyPointerType='all' because the events are used to draw! but what if allowOnlyPointerType='pen. ' now other events like touch and ... could potentially be used to scroll the parent.
thanks
The text was updated successfully, but these errors were encountered:
I think the problem is here at canvas.index.tsx: I removed the touch-action: none and managed to activate/deactivate it just when the pointer type is pen via toggling a css class. it works somehow but is not prefect. is there any smarter way? style={{ // touchAction: 'none', width, height, ...style, }}
HI.
when the ReactSketchCanvas is inside a scrollable component, the ReactSketchCanvas component prevents dragging to reach the parent element. and it is ok if allowOnlyPointerType='all' because the events are used to draw! but what if allowOnlyPointerType='pen. ' now other events like touch and ... could potentially be used to scroll the parent.
thanks
The text was updated successfully, but these errors were encountered: