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

Rapidly clicking the same row causes the UI to freeze #23

Open
simonbs opened this issue Feb 25, 2013 · 1 comment
Open

Rapidly clicking the same row causes the UI to freeze #23

simonbs opened this issue Feb 25, 2013 · 1 comment

Comments

@simonbs
Copy link

simonbs commented Feb 25, 2013

I find that whenever I rapidly click on the same cell, the entire UI of the application will freeze. Of course, this is not necessarily how the list view is meant to be used. Still, it would be great if this was not the case.

I have not managed to find the cause for this. Does anyone experience the same or even have a fix for this?

@urkle
Copy link

urkle commented Apr 14, 2014

HAHA.. yeah.. I finally found the cause for this.. It's the silly "drag and drop" support.. basically what happens is when you click the SAME row again the code "checks" to see if you are going to move the mouse and if so starts a drag.. However it "checks" for 1.5 seconds each mouseDown, this it severely LAGS out the UI. I have a quick fix here in urkle/PXListView@237d57c5 which simply validates the delegate BEFORE wasting time checking for a move event. Really the whole drag+drop stuff needs to be rewritten so it doesn't lag out the UI.

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

2 participants