Opened 5 years ago

Closed 5 years ago

#9935 closed bug (invalid)

$.Widget.prototype._setOption takes time to disable widget

Reported by: nabilELMEKKAOUI Owned by: nabilELMEKKAOUI
Priority: minor Milestone: none
Component: ui.widget Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

Description

$.Widget.prototype._setOption takes time to disable widget. When this.focusable().removeClass( "ui-state-focus" ); is called the class "ui-state-focus" is not removed. I had to change it to :

this.widget().removeClass( "ui-state-hover" ); this.widget().removeClass( "ui-state-focus" );

Change History (2)

comment:1 Changed 5 years ago by tj.vantoll

Owner: set to nabilELMEKKAOUI
Status: newpending

Hi nabilELMEKKAOUI,

Thanks for taking the time to contribute to jQuery UI. I'm not sure I understand the problem you're having. _setOption() runs synchronously, so it shouldn't take time to disable the widget. Can you please create a test case that shows the issue you're experiencing? You can use this as a starting point: http://jsfiddle.net/tj_vantoll/Es8ZS/.

comment:2 Changed 5 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.