Skip to content

fix: allow navigationFrom event for deep navigation within modal frame - #9187

Merged
NathanWalker merged 1 commit into
NativeScript:masterfrom
Akylas:ios_modal_frame_event
Feb 5, 2021
Merged

NathanWalker merged 1 commit into
NativeScript:masterfrom
Akylas:ios_modal_frame_event

Conversation

@farfromrefug

Copy link
Copy Markdown
Collaborator

On iOS if you were to use a frame modally, the deep(backStack >0) navigatingFrom events were not fired.
The reason is pretty simple, it was seen as modal and thus no event (yet navigatingTo was fired...)
That PR simply bypass the check if frame backstack length is > 0. That way we get the events for deep navigation but we still "skip" it when closing the modal itself.

@cla-bot cla-bot Bot added the cla: yes label Feb 2, 2021
@NathanWalker
NathanWalker merged commit 8f1455e into NativeScript:master Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants