Opened 14 years ago
Closed 10 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 14 years ago by
Milestone: | TBD → 1.7 |
---|
comment:2 Changed 14 years ago by
Milestone: | 1.7 → 1.8 |
---|
comment:3 Changed 14 years ago by
comment:5 Changed 10 years ago by
Milestone: | 1.9.0 → 2.0.0 |
---|
comment:6 Changed 10 years ago by
Owner: | set to how |
---|---|
Status: | new → pending |
Summary: | selectable + anchor not clickable → Selectable: 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 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
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!
Possible fix; I had the same issue and added the "a" tag to the cancel option, like so:
$("#imageList").selectable({
});
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?