0

We are using Autocomplete Widget to quickly find and select from a pre-populated list of values as user type.

I want to disable the hover effect for mobile mode. We are overriding ui-state-active class to apply it whenever a user hovers on UI menu dropdown.

How can disable it?

Jayesh Dhandha
  • 1,983
  • 28
  • 50

1 Answers1

0

Ok I found the answere.

We can use below code.

open: function(event, ui) {
          $('.ui-autocomplete').off('menufocus hover mouseover mouseenter');
      }

Reference

Jayesh Dhandha
  • 1,983
  • 28
  • 50