flutter/packages/flutter_test
Renzo Olivares 5890a2fc73
SelectionArea's selection should not be cleared on loss of window focus (#148067)
This change fixes an issue where SelectionArea would clear its selection when the application window lost focus by first checking if the application is running. This is needed because `FocusManager` is aware of the application lifecycle as of https://github.com/flutter/flutter/pull/142930 , and triggers a focus lost if the application is not active.

Also fixes an issue where the `FocusManager` was not being reset on tests at the right time, causing it always to build with `TargetPlatform.android` as its context.
2024-05-20 23:45:08 +00:00
..
lib SelectionArea's selection should not be cleared on loss of window focus (#148067) 2024-05-20 23:45:08 +00:00
test Factor out RawView, make View listen to engine generated view focus events (#143259) 2024-05-20 17:17:55 +00:00
test_fixes Reland simulatedAccessibilityTraversal fix (#143527) 2024-02-15 21:37:40 +00:00
analysis_options.yaml Adds dart_fix support to flutter_test (#124347) 2023-04-11 21:09:07 +00:00
dart_test.yaml Randomize tests, exclude tests that fail with randomization. (#86793) 2021-07-26 23:40:49 -07:00
pubspec.yaml Unpin DDS and roll pub packages (#147925) 2024-05-08 10:35:28 +01:00