When updating the model, the directive may be renewed. Therefore, since the mouse is already element- mouseenter and stationary, the mouseenter event mouseenter not mouseenter .
Most likely you will have to edit the popover directive and add a function to the link function , which checks the position of the mouse, and if the mouse is above the trigger, it will keep the popover visible. However, this may cause flickering.
Or you can quietly update the model so that the directive does not resume. If you post some sample code or jsfiffle / plunker, I could explain how to do this.
source share