[ 7 posts ]

Andy Fisher

  • Username: porkula
  • Joined: Tue Sep 13, 2011 4:41 pm
  • Posts: 2
  • Offline
  • Profile
Tags:

Select List inside Drop & Drop object problem

Post Posted: Tue Sep 13, 2011 5:07 pm
+0-
I'm using the Drag & Drop functionality, for list re-ordering (similar to the list re-ordering example at http://yuilib.com/yui/docs/dd/list-drag.html).

Each list object has some content inside it (e.g. text, links), and most of this content appears / responds as I'd expect (i.e. clicking on a link works correctly).

Each also includes a select / drop-down list. On Firefox, the select drop-down list works correctly (responds, allows me to select another option from the drop-down list). On Chrome & Safari, the cursor responds correctly (i.e. shows an arrow when hovering over the select list item), and the select option flashes briefly on a click (as if it's trying to respond), but does not drop-down any of the options, so other options from the drop-down list cannot be selected.

I've tried this both with and without yahoo "click" Listeners. Any thoughts as to why the select drop-down list isn't getting displayed on a click? (e.g. I'm assuming the drop/drag list object is somehow preventing the select list from responding correctly?), or suggested solutions to the problem?

Thanks!

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: Select List inside Drop & Drop object problem

Post Posted: Mon Oct 10, 2011 8:38 am
+0-
Are you using YUI 2 or YUI3?

tkincher

  • Joined: Wed Oct 12, 2011 1:23 pm
  • Posts: 1
  • Offline
  • Profile

Re: Select List inside Drop & Drop object problem

Post Posted: Wed Oct 12, 2011 1:25 pm
+0-
Using YUI 2.9.0, I am seeing this same issue with IE9 in IE9 mode only. This does not occur in IE9 when it's thrown into IE8, IE7 or compatibility mode. Additionally, if I put an onclick handler directly on the "select" element, that handler will get called (but the select menu still does not open).

Andy Fisher

  • Username: porkula
  • Joined: Tue Sep 13, 2011 4:41 pm
  • Posts: 2
  • Offline
  • Profile
Tags:

Re: Select List inside Drop & Drop object problem

Post Posted: Wed Oct 26, 2011 8:10 pm
+0-
I'm on YUI 2 (2.8.0). I saw a similar problem more recently where I had an input text field in the middle of my drag object, and sometimes it wouldn't respond to typing (saw this on FF and Chrome).

Tom

  • Username: brandhelfer
  • Joined: Tue Apr 12, 2011 8:48 am
  • Posts: 6
  • Offline
  • Profile
Tags:

Re: Select List inside Drop & Drop object problem

Post Posted: Thu Nov 08, 2012 8:27 am
+0-
Hi all,

I would like to revive this issue since suddenly I have the same problem.
So, I guess there must have been an update on the browser side that changed something.

I am using YUI 2.9 on newest Chrome and Firefox on Windows.

<select>s "within" a draggable div are not clickable anymore.
We have some websites running for about 2 years now and on these websites this has always been working. Today we discovered it is not working anymore.

Does anybody has an idea?

Tom

Tom

  • Username: brandhelfer
  • Joined: Tue Apr 12, 2011 8:48 am
  • Posts: 6
  • Offline
  • Profile

Re: Select List inside Drop & Drop object problem

Post Posted: Wed Nov 14, 2012 2:55 am
+0-
I think this one is solved.

The problem seems to be that the onchange event is not being fired if the dropdown lies within a draggable container.
The onclick event is fired though.
So a simple onclick="this.focus();" on the dropdown did the trick.

Very interesting though since this has been working before.
We did not do any updates. The only updates that took place were browser updates.
So if anybody has an explanation for this change I would be very keen to know it.

Tom

  • Username: brandhelfer
  • Joined: Tue Apr 12, 2011 8:48 am
  • Posts: 6
  • Offline
  • Profile

Re: Select List inside Drop & Drop object problem

Post Posted: Fri Apr 26, 2013 1:55 am
+0-
Hi everybody,

again ... I would like to revive this issue.

The solution I mentioned in my previous post has been working ... until now.
Now again I Cannot expand my selects which are inside a dnd container.

And again I did not do any update in the source code.
Only the browsers have been updated.

So anybody out there who can help me out on this?

Thanks a lot
  [ 7 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum