Using jQuery, setting Draggable on an element prevents blur from firing when you click the draggable element

后端 未结 2 1277
慢半拍i
慢半拍i 2021-01-20 18:21

Using jQuery, when you set a blur event on a text box and set another element as draggable, when you click the draggable element, the blur event does not fire in FireFox. I

相关标签:
2条回答
  • 2021-01-20 19:10

    It could be that the draggable label isn't focusable. Try adding a tabindex attribute to it. This way when you click on it, it'll gain focus (and hence, blur the other elements).

    0 讨论(0)
  • 2021-01-20 19:13

    I had the same problem. It's a bug. For a solution see here: http://dev.jqueryui.com/ticket/4261

    0 讨论(0)
提交回复
热议问题