Opened 6 years ago

Closed 6 years ago

#15211 closed bug (worksforme)

jQuery UI Selectable unbinds click events from anchors

Reported by: kasynych Owned by:
Priority: minor Milestone: none
Component: ui.selectable Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

I think this is a bug because when I initialize the selectable with the filter option, the click events from anchors in items which do not match filter are also unbound.

Please view an example here:

https://jsfiddle.net/u90z12zd/1/

Change History (1)

comment:1 Changed 6 years ago by Scott González

Resolution: worksforme
Status: newclosed

Nothing is being unbound; the events are being prevented because you've told the selectable to always be active. Instead, you should tell the selectable to only start selecting after the mouse has been moved a certain distance. See https://jsfiddle.net/u90z12zd/2/ and http://api.jqueryui.com/selectable/#option-distance.

Note: See TracTickets for help on using tickets.