We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.2.3
https://jsfiddle.net/beaumartinez/d5ko5Ly2/6/
Create a canvas inside a container. The container must have overflow. The canvas must be larger than the container.
You can scroll the canvas on desktop; you can't on touchscreen, even with allowTouchScrolling.
allowTouchScrolling
You can scroll the container on touchscreen.
You can't scroll the container on touchscreen.
The text was updated successfully, but these errors were encountered:
I did some investigation. Fabric.js applies touch-action: none to the canvas style. Removing that allows scrolling.
touch-action: none
An easy fix would be checking allowTouchScrolling, and if that is true, we don't set that style.
true
Sorry, something went wrong.
yeah this is an idea
Successfully merging a pull request may close this issue.
Version
2.2.3
Test Case
https://jsfiddle.net/beaumartinez/d5ko5Ly2/6/
Steps to reproduce
Create a canvas inside a container. The container must have overflow. The canvas must be larger than the container.
You can scroll the canvas on desktop; you can't on touchscreen, even with
allowTouchScrolling
.Expected Behavior
You can scroll the container on touchscreen.
Actual Behavior
You can't scroll the container on touchscreen.
The text was updated successfully, but these errors were encountered: