Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

fix:didFocus event can't be triggered due to component update and red… #60

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/reduxify-navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ function reduxifyNavigator<State: NavigationState, Props: RequiredProps<State>>(
}

componentDidUpdate() {
didUpdateCallback();
setTimeout(() => {
didUpdateCallback();

This comment was marked as abuse.

}, 0);
}

getCurrentNavigation = () => {
Expand Down