Opened 10 years ago

Closed 6 years ago

#4236 closed bug (invalid)

Selectable: anchor in selectable is not clickable

Reported by: how Owned by: how
Priority: major Milestone: 2.0.0
Component: ui.selectable Version: 1.6rc6
Keywords: selectable anchor Cc:
Blocked by: Blocking:

Description

anchor does not work in Firefox 3.05 when inside a selectable div. Opera works.

$(document).ready(function(){

$(".column").selectable(); $("a").click(function(){

alert("test");

});

});

<div class="column" id="col1"> <a>test</a> </div>

Change History (7)

comment:1 Changed 10 years ago by Jörn Zaefferer

Milestone: TBD1.7

comment:2 Changed 10 years ago by rdworth

Milestone: 1.71.8

comment:3 Changed 10 years ago by ajacksified

Possible fix; I had the same issue and added the "a" tag to the cancel option, like so:

$("#imageList").selectable({

stop: function(){

bunch of unrelated stuff

}, cancel: ":input,option,a"

});

Before I added this, I wasn't getting anything from my a tags. Perhaps "a" should be added to the default options, along with input?

comment:4 Changed 10 years ago by how

Thanks alot the cancel works great !

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

Milestone: 1.9.02.0.0

comment:6 Changed 6 years ago by petersendidit

Owner: set to how
Status: newpending
Summary: selectable + anchor not clickableSelectable: anchor in selectable is not clickable

Can you provide the use case where you would not use the events provided to you with the selectable widget to handle what you are trying to do?

comment:7 Changed 6 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.