Semantic-ui: [multiple search dropdown]

Created on 25 Jan 2016  路  3Comments  路  Source: Semantic-Org/Semantic-UI

Click event will be triggered repeatedly when I click the input.search.
It also occur in my project and http://semantic-ui.com/modules/dropdown.html#/examples.
I need some help. Thanks

Usage Question

Most helpful comment

It was a quite annoying bug given how awesome this feature could be. I had a hacky work around:
$('.dropdown').off('click'); $('.dropdown').on('click', function () { console.log('show menu'); $('.dropdown .menu').transition('slide down'); })

Basically it unbinds all click events to "dropdown", and rebinds a single click to display/hide the dropdown menu.

I really hope they could fix this at some point.

All 3 comments

It was a quite annoying bug given how awesome this feature could be. I had a hacky work around:
$('.dropdown').off('click'); $('.dropdown').on('click', function () { console.log('show menu'); $('.dropdown .menu').transition('slide down'); })

Basically it unbinds all click events to "dropdown", and rebinds a single click to display/hide the dropdown menu.

I really hope they could fix this at some point.

It opens all the dropdowns and messes up everything
screen shot 2016-12-20 at 4 36 16 pm

Edit: Also, clicking on X doesn't work

Someone close this issue. Similar to #4546
Solution:

http://semantic-ui.com/modules/dropdown.html#/settings

Set forceSelection:false and viola! Tested it just now. works.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

guilhermeblanco picture guilhermeblanco  路  3Comments

deneuxa picture deneuxa  路  3Comments

batata004 picture batata004  路  3Comments

zhaoyao91 picture zhaoyao91  路  3Comments

playgithub picture playgithub  路  3Comments