When talkbalk accessability mode is enabled, pressing on any of the buttons provided by gesture handler (BaseButton, RawButton, BorderlessButton, Et Cetera) will cause 2 separate press events to go off.
This PR fixes that invalid behaviour.
Closes: #2808
Test plan
enable talkback mode
run the attached example
see how the button labeled BaseButton executes twice on main and a single time on this branch.
Description
When talkbalk accessability mode is enabled, pressing on any of the buttons provided by gesture handler (
BaseButton
,RawButton
,BorderlessButton
, Et Cetera) will cause 2 separate press events to go off.This PR fixes that invalid behaviour.
Closes: #2808
Test plan
BaseButton
executes twice onmain
and a single time on this branch.Attached example
Tests
Normal behaviour (no talkback, no fix):
Before fix:
With fix: