You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Problem is that if you will try to reset the Capture in PointerPressed method in one of the controls that's using PressedMixin you will face bugs. For example, when I was implementing this PR I needed to reset the Capture in DefaultMenuInteractionHandler.PointerPressed. And when I do that and press on some of the menuitems :pressed will be set to true for a moment and when set to :false because of Capture reset. I expect it not to set :pressed to false because I hold the left mouse button and the pointer is still over the pressed element. That's caused by PressedMixin.PointerCaptureLostEvent subscription.
The text was updated successfully, but these errors were encountered:
Describe the bug
Problem is that if you will try to reset the Capture in PointerPressed method in one of the controls that's using PressedMixin you will face bugs. For example, when I was implementing this PR I needed to reset the Capture in DefaultMenuInteractionHandler.PointerPressed. And when I do that and press on some of the menuitems :pressed will be set to true for a moment and when set to :false because of Capture reset. I expect it not to set :pressed to false because I hold the left mouse button and the pointer is still over the pressed element. That's caused by PressedMixin.PointerCaptureLostEvent subscription.
The text was updated successfully, but these errors were encountered: