verygoodgraphics / vgg_runtime

The official implementation of VGG Specs with cross-platform vector graphics and user interfaces.
https://verygoodgraphics.com
Other
57 stars 5 forks source link

Hovering state of the button can not recover if the mouse moves quick #401

Open elff1 opened 1 month ago

elff1 commented 1 month ago

Detailed description

VGG Runtime support hovering effect. However, if the mouse moves quick, the button remains hovering state and can not recover. Animated Calendar Template(Mobile) (Community).zip

Expected behavior

Only one button is in hovering state at a time. image

Actual behavior

A button remains hovering state and can not recover. image

Steps to reproduce

No response

Additional information

No response

gaimanjing commented 3 weeks ago

The reason is that the mouse leave event is not dispatched on the hovered node. In some cases this behavior is correct: commit.