Skip to content
This repository has been archived by the owner on Jun 18, 2018. It is now read-only.

Dragging really slow because of HitTest. Disable hit testing on drag? #76

Open
Cristy94 opened this issue Jan 30, 2018 · 2 comments
Open

Comments

@Cristy94
Copy link

I have a complex element that is being dragged over a list of multiple other similar elements and only a single drop target. Sometimes dragging works fine, but sometimes it is very, very slow (like 1 frame per second).

Looking at the browser's performance tab I see that 50% of time is used doing HitTest when moving the dragged element around (which apparently is in the Rendering category even though it doesn't trigger paint flashing).

I think the issue that should be solved is the HitTest performance being so bad, but in my case I would only need to enable the HitTest on drop, not on move.

Can hit testing be disabled while dragging?

PS: I just assumed that HitTest is the HTML5 native drag-and-drop hit testing functionality, but I might be wrong.

@Siocki
Copy link

Siocki commented Mar 8, 2018

I have the same problem

@pabeda-bt
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants