diff --git a/app/screens/snack_bar/index.tsx b/app/screens/snack_bar/index.tsx index 38e7e2a27..219d57cd5 100644 --- a/app/screens/snack_bar/index.tsx +++ b/app/screens/snack_bar/index.tsx @@ -206,7 +206,8 @@ const SnackBar = ({barType, componentId, onAction, sourceScreen}: SnackBarProps) // This effect checks if we are navigating away and if so, it dismisses the snack bar useEffect(() => { const onHideSnackBar = (event?: ComponentEvent) => { - if (componentId !== event?.componentId) { + const evtComponentId = event?.componentId; + if ((componentId !== evtComponentId) && (sourceScreen !== evtComponentId)) { animateHiding(true); } };