Skip to content

Problem with touch:longpress in scrollable page #2621

@cerve

Description

@cerve

Hi, I have got a problem with the touch:longpress event in touchable device.
It seems that fabric.js does not fire the event correctly if the canvas is placed for example at the bottom of page and you must use scroll down to display it.

I built a simple example here http://jsfiddle.net/cerve/jmsoruqo/ using fabric.js with Custom Build

In this example, I've created two equal canvas initialised in the same way with fabric. In the middle we have a single

with an height of 2000px. In order to see the second div it is necessary to scroll the result page.

Using a touchable device (or simulating it) the first canvas fire the event longpress but the second one doesn't fire nothing.

Could you help me?

Thank you in advance

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions