multiselect icon indicating copy to clipboard operation
multiselect copied to clipboard

Conflict in jquery ui accordion

Open nicbourgoin opened this issue 15 years ago • 3 comments

It seems that if I want to load the multiselect list inside a jqueryui accordion (in a non-active accordion) it does not work at all. What I did is when the accordion containing the multiselect opens up I initialize the multiselect. However, in this case, the drag'n'drop doesn't work.

Maybe some css conflict or something alike..?

nicbourgoin avatar Aug 17 '10 00:08 nicbourgoin

I ran into a similar issue with this. I had tried adding a slideToggle method to the multiselect, but I ran into some sizing issues as well as the disabled drag-drop functionality:

my very simple test: http://github.com/ejhayes/multiselect/commit/92977c8270cdc714fbcb348e3a9248257b08c9ff

ejhayes avatar Sep 01 '10 15:09 ejhayes

Just as a follow up, I notice in my accordion that if I load every single accordion panel before the one containing the multiselect and THEN open the panel containing it (and loading it dynamically on open) the drag n drop works and all is well.

nicbourgoin avatar Sep 06 '10 19:09 nicbourgoin

@nicbourgoin Try This menu.css({ top: button.position().top + button.outerHeight(), left: button.position().left }).show( effect, speed );

instead of that

menu.css({ top: pos.top + button.outerHeight(), left: button.offset(); }).show( effect, speed );

Youssef-AKALAL avatar Jan 05 '12 17:01 Youssef-AKALAL