0

I'm using the jQuery UI vertical slider, and when I click on a new tab of a web browser (Firefox, Chrome, and IE) the state-focus is activated for no apparent reason of the slider.

When I click on the slider that state-focus goes away, and when I click on the window there is no state focus (which is what it's suppose to do.), only switching tabs.

I know this is a bug but I can't find the piece of code to remedy it. Help?

I'm using jQuery UI 1.8.21.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
user1477535
  • 93
  • 1
  • 1
  • 5
  • I'm not sure this is a bug, and I cannot reproduce it ([fiddle](http://jsfiddle.net/wf6WK/)). Do you have a `focus` or `blur` event handler bound to `window` that could explain this? – Frédéric Hamidi Jul 13 '12 at 17:15

1 Answers1

0

This has been solved by separating the ui-state-focus from ui-state-active in jquery ui slider-vertical's default css.

So the bug doesn't effect the presentation of the slider.

Here's similar problems user are having:

jQuery UI button not "unclicking" http://forum.jquery.com/topic/button-and-dialog-ui-state-focus-on-button-being-kept

Community
  • 1
  • 1
user1477535
  • 93
  • 1
  • 1
  • 5