Stops selecting. #5

Closed
opened 2014-04-22 17:22:42 +02:00 by pursual · 5 comments
pursual commented 2014-04-22 17:22:42 +02:00 (Migrated from github.com)

I dropped this in in place of the original and the scrolling is awesome. However it consistently stops responding. It is as if it develops huge blind spots after a selection where it will not initialize another select? I can click all around the list until I find an area where it responds again.

I will try to slim my use down to a jsfiddle if I have time.

I dropped this in in place of the original and the scrolling is awesome. However it consistently stops responding. It is as if it develops huge blind spots after a selection where it will not initialize another select? I can click all around the list until I find an area where it responds again. I will try to slim my use down to a jsfiddle if I have time.
karolyi commented 2014-04-22 17:24:16 +02:00 (Migrated from github.com)

yes, please try to reproduce it on jsfiddle, so i can look it up.

yes, please try to reproduce it on jsfiddle, so i can look it up.
pursual commented 2014-04-22 17:54:49 +02:00 (Migrated from github.com)

http://jsfiddle.net/pursual/Br22b/

Ok, it takes a little playing to trigger the condition. The first thing I do is move the middle divider in the fiddle to the left until the rows in my demo appear more compact.

Then scroll down the entire page, NOT the list. Drag select three or four rows in the middle, leaving three or four more on the bottom. Then try to drag select the bottom rows, from the bottom up. It might take a few tries to reproduce the issue.

http://jsfiddle.net/pursual/Br22b/ Ok, it takes a little playing to trigger the condition. The first thing I do is move the middle divider in the fiddle to the left until the rows in my demo appear more compact. Then scroll down the entire page, NOT the list. Drag select three or four rows in the middle, leaving three or four more on the bottom. Then try to drag select the bottom rows, from the bottom up. It might take a few tries to reproduce the issue.
pursual commented 2014-04-22 18:00:53 +02:00 (Migrated from github.com)

Updated fiddle URL.

Updated fiddle URL.
karolyi commented 2014-04-22 20:52:47 +02:00 (Migrated from github.com)

It should be okay now. HTMLElement.offsetHeight seems to be too vaguely defined, $.offset() does the proper job.

It should be okay now. HTMLElement.offsetHeight seems to be too vaguely defined, $.offset() does the proper job.
pursual commented 2014-04-22 21:10:48 +02:00 (Migrated from github.com)

Works great, thanks.

Works great, thanks.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: karolyi/ui-selectableScroll#5
No description provided.