-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[web] switch from .didGain/LoseAccessibilityFocus to .focus" (#…
…53679) Reverts #53360 Breaking google3 in b/350131288. There is a test that does something like the following, to check if a radio button is selected. ```dart // Send a bunch of tabs to focus on the correct radio button await tester.sendKeyEvent(LogicalKeyboardKey.tab); await tester.pump(); await tester.sendKeyEvent(LogicalKeyboardKey.tab); await tester.pump(); await tester.sendKeyEvent(LogicalKeyboardKey.tab); await tester.pump(); // Toggle the radio button with space await tester.sendKeyEvent(LogicalKeyboardKey.space); await tester.pump(); final selectedRadio = tester.widget<Radio<bool>>(find.byType(Radio<bool>).at(1)); expect(selectedRadio.value, isTrue); ``` After this commit, the above test fails. See the linked bug above for more details.
- Loading branch information
Showing
9 changed files
with
898 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.