jquery-nice-select icon indicating copy to clipboard operation
jquery-nice-select copied to clipboard

Not working when placed in <label> tag

Open implico opened this issue 7 years ago • 6 comments

To reproduce: wrap the selectbox to be styled with a <label> tag. Why: because clicking nice select bubbles to the label tag, which in turn triggers click with event.target set to the native select element, so the plugin treats it like "clicking outside".

implico avatar May 16 '17 21:05 implico

Sorry for the first commit, wrong branch.

implico avatar May 16 '17 22:05 implico

Same issue

mastershaig avatar Jun 16 '17 08:06 mastershaig

It was fixed one month ago, but the pull request waiting for acceptance since then @hernansartorio

implico avatar Jun 16 '17 09:06 implico

Thanks for the fix, it would be great to see it merged @hernansartorio Thank you very much

desirelabs avatar Feb 07 '19 14:02 desirelabs

Hi,

@hernansartorio what do you need to accept https://github.com/hernansartorio/jquery-nice-select/pull/47 ?

thank you

evantill avatar Mar 13 '20 17:03 evantill

here a reprocase if useful: https://jsfiddle.net/evantill/huqn39bk/4/

evantill avatar Mar 14 '20 10:03 evantill