Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

Can't get dropdown to initialize after upgrading to SUI 2.0.4

Open paulwal opened this issue 11 years ago • 4 comments

http://www.sessionlessons.com/-/1

Look at line 100 of the html for the dropdown markup, and line 3 of /js/studio.js for the dropdown initialization. It worked fine in 2.0.0 (see: http://www.sessionlessons.com/-/0 ) but now it stopped working for some reason. What am I missing? Thanks

paulwal avatar Jul 21 '15 00:07 paulwal

I forgot to mention I've tested this on Chrome and Safari in OS X 10.10.4.

paulwal avatar Jul 21 '15 00:07 paulwal

I'm seeing a js error

TypeError: localVideo is null
    localVideo.addEventListener('loadedmetadata', function(){}

jlukic avatar Jul 21 '15 02:07 jlukic

Your dropdown does not include any items. Dropdowns are intended for user selection, and require at least one item to open. A dropdown with no items is assumed to be fully filtered and does not open. http://jsfiddle.net/085hxsL9/

If you need to display overlay content that is not for selection try ui basic popup with perhaps a slide down animation.

By the way the site layout looks good.

jlukic avatar Jul 21 '15 02:07 jlukic

Thanks, Jack. That makes sense. I appreciate the kind words, and thanks for the suggestion. The ui basic popup looks perfect. I'll use that instead.

paulwal avatar Jul 21 '15 07:07 paulwal