Hello,
If a user left clicks on a gallery item while moving the mouse off of the item, the Commit or CancelPreview events are never raised. This can lead to invalid state if someone is tracking the active item.
Since the Commit event fires on MouseUp, it seems the CancelPreview event should still fire when the user's mouse leaves the gallery item regardless of the mouse's button state.
To reproduce do the following:
Left click on a gallery item (fires Preview)
Leaving the left button down, move the mouse away from the gallery item (nothing fires)
Thanks,
Jon
If a user left clicks on a gallery item while moving the mouse off of the item, the Commit or CancelPreview events are never raised. This can lead to invalid state if someone is tracking the active item.
Since the Commit event fires on MouseUp, it seems the CancelPreview event should still fire when the user's mouse leaves the gallery item regardless of the mouse's button state.
To reproduce do the following:
Left click on a gallery item (fires Preview)
Leaving the left button down, move the mouse away from the gallery item (nothing fires)
Thanks,
Jon