'React AntD Select Component: hover state

I've just started using React AntD library Select component. I noticed that when you have the select dropdown open and if you mouse leave it, the last hovered on option stays visible. Is there a way to override this behaviour? I want to remove the hovered on styling once my mouse leaves the select component...

Thanks in advance!



Solution 1:[1]

The last hovered on option stays visible only if you've clicked that placement. If you don't clicked that placement and just hover on option, then your last hovered on option will not stay visible. So, you can't override this behaviour.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 user14239