Skip to content

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

Merged
SvetoslavTsenov merged 1 commit intomasterfrom
djenkov/fix-modal-navigation
Jun 14, 2018
Merged

fix(modal): lower isModalNavigation flag when closing modal#1378
SvetoslavTsenov merged 1 commit intomasterfrom
djenkov/fix-modal-navigation

Conversation

@ADjenkov
Copy link
Copy Markdown
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