jquery.customSelect icon indicating copy to clipboard operation
jquery.customSelect copied to clipboard

Bugs with customSelectHover... why not just use CSS?

Open jesserosenfield opened this issue 11 years ago • 0 comments

I found using the customSelectHover CSS class to style the hover state to be buggy. Sometimes when mousing out and clicking on other select menus, the hover state doesn't go away right away.

I found it to be much more consistent and reliable to do the following, using the CSS adjacent sibling selector:

select.hasCustomSelect:hover + .customSelect {

}

jesserosenfield avatar Aug 25 '13 00:08 jesserosenfield