AnsweredAssumed Answered

Disable mouse hover on disabled People picker

Question asked by themos on Nov 24, 2016
Latest reply on Mar 9, 2017 by chaitra.b.c

Hey guys,

 

I seem to be experiencing something strange with a people picker control:

 

If I disable a panel using NWF$('.form2 *').prop('disabled'true);

and that panel contains a people picker, then the control is disabled correctly BUT the mouse hover still works (which is acceptable).

 

The problem is, however, even though the popup is rendered correctly, it does not close and remains attached to the mouse cursor!

 

The easiest solution should be to just disable the mouse hover programmatically in the people picker, either only on the disabled people pickers, or on ALL people pickers in general! (this is also an acceptable solution).

 

I tried to use .unbind('mouseenter mouseleave'), but with no success... Any ideas?

Outcomes