Skip to content

fix(modal): lower isModalNavigation flag when closing modal #1378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2018

Conversation

ADjenkov
Copy link
Contributor

@ADjenkov ADjenkov commented Jun 12, 2018

_isModalNavigation should be set to false when closing modal view.

Note: _isModalNavigation is used to mark a state (cached in cacheByOutlet dictionary) as the beginning of a navigation inside modal view. Currently we are lowering this flag only when caching states (navigating further). If there is no further navigation inside the modal view the _isModalNavigation will remain true which will disturb the clearing of the cached states later on.

@ADjenkov ADjenkov added the bug label Jun 12, 2018
@ADjenkov ADjenkov self-assigned this Jun 12, 2018
@ADjenkov ADjenkov requested a review from vakrilov June 12, 2018 14:24
@ghost ghost added the in progress label Jun 12, 2018
@SvetoslavTsenov SvetoslavTsenov merged commit 6ab1cac into master Jun 14, 2018
@ghost ghost removed bug in progress labels Jun 14, 2018
@SvetoslavTsenov SvetoslavTsenov deleted the djenkov/fix-modal-navigation branch June 14, 2018 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants