Hi,
I think I have discovered a bug in the button widget:
Consider the scenario
-
Create 3 buttons, all with their own onRelease handlers
-
Create a timer.performWithDelay function at a delay of 5 seconds that will setEnable(false) the first button
-
Run your app
-
Press and hold the first button before 5 seconds and continue holding it after 5 seconds until the timer function has executed
-
Notice that the first button remains in a “pressed” state and that all buttons are now disabled.
Please fix!