Search and Top Navigation
#1652 closed bug (fixed)
Opened September 17, 2007 06:00PM UTC
Closed May 04, 2008 11:50AM UTC
Last modified February 26, 2009 11:06AM UTC
Interesting Click Event catching on "Selectables"
Reported by: | jwise | Owned by: | codesquare |
---|---|---|---|
Priority: | minor | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.2 |
Keywords: | selectables | Cc: | |
Blocked by: | Blocking: |
Description
What I was doing:
I was browsing through your new UI library testing out all the new features and thinking about using them to replace my current implementation of prototype with script.aculo.us.
What happened:
When using the Selectables Demo I ran into a problem. It wouldn't capture selection events starting outside of the selectable items. Normally I would think users would start a selection box outside of an item and then enclose that item and any others as they drag. I also noticed it wouldn't select an item when simply clicked (without a selection box). I read your documentation and noticed that this was the desired behavior, but I would recommend changing it to support a simple click.
Recommended Action:
1) Capture the click-selection events at a higher level in the click hierarchy possibly as high as the document level and then drill down to see what is being selected, or alternatively:
2) Create some type of buffer around the ul tags so that the clicking space will have a larger top and bottom area to start the selection event from. This could create issues with the selectable area taking up too much space in some designs, so it would need to be optional.
'''What I'm using (the issue occurred on all of these browsers):'''
Mozilla Firefox 2.0.0.6 (with a couple add-ons),
IE 7.0.5730.11,
Opera 9.23, and
Safari 3.0.3 (522.15.5)
on Windows XP Pro
Attachments (0)
Change History (6)
Changed September 18, 2007 10:11AM UTC by comment:1
owner: | paul → rworth |
---|
Changed December 08, 2007 04:45PM UTC by comment:2
status: | new → assigned |
---|---|
type: | enhancement → bug |
Changed March 31, 2008 03:08PM UTC by comment:3
owner: | rworth → codesquare |
---|---|
status: | assigned → new |
Changed May 04, 2008 11:50AM UTC by comment:4
resolution: | → fixed |
---|---|
status: | new → closed |
Changed May 24, 2008 03:39AM UTC by comment:5
milestone: | 1.2.1 |
---|
Milestone 1.2.1 deleted
Changed February 26, 2009 11:06AM UTC by comment:6
milestone: | → 1.5 |
---|