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
### Description
This fixes the regression described in #6314.
The change in #6230 made the underlying problem in `AlertBanner` more prominent as it caused the top level navigator to re-render on app state change (background/foreground/inactive) and hence the `AlertBanner`.
### Other changes
Globally mock `Animated.View` and `Animated.ScrollView` to prevent out of memory error when a ref is set.
See callstack/react-native-testing-library#539
Note: This change caused the Snapshot updates, because the styles are not flattened anymore for the mocked `Animated.View`.
### Tested
- Last alert is not redisplayed when navigating to different screens.
- New alert banner with same content can still be redisplayed when dispatched (causing a state change).
### Related issues
- Fixes#6314
### Backwards compatibility
Yes
Expected Behavior
Previous error shouldn't appear again when navigating to different screens.
Current Behavior
Previous error banner displayed when navigating to different screens.
Happened to Markus on iOS during today's bugapalooza testing v1.7
See details (logs and screenshots) in https://groups.google.com/a/clabs.co/g/support/c/9tQeyL2z8bk/m/CtWjaxmpAwAJ
The text was updated successfully, but these errors were encountered: