FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(frame): handle back navigation when common layout is used as a root element by ADjenkov · Pull Request #5608 · NativeScript/NativeScript · GitHub

feat(frame): handle back navigation when common layout is used as a root element - #5608

Merged
SvetoslavTsenov merged 3 commits into
masterfrom
layout-root
Apr 2, 2018
Merged

SvetoslavTsenov merged 3 commits into
masterfrom
layout-root

Conversation

ADjenkov commented Apr 2, 2018

Copy link
Copy Markdown
Contributor
  • Delegate back navigation handling to the topmost Frame, if it's a child of the current View, to prevent closing modal view or app termination.
  • Introduce FrameStack module to handle frameStack access and avoid circular dependencies (topmost(), _pushInFrameStack() etc)
  • Add tests where the root modal element is common layout (GridLayout/StackLayout eg.)

ADjenkov added this to the 4.0 milestone Apr 2, 2018
ghost added the in progress label Apr 2, 2018
ns-bot added the cla: yes label Apr 2, 2018

ADjenkov commented Apr 2, 2018

Copy link
Copy Markdown
Contributor Author

test

@@ -0,0 +1,49 @@
import { FrameBase } from "./frame-common";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can you add // Types comment on this import to make it clear it should be removed after transpile

Copy link
Copy Markdown
Contributor

test branch_modal_navigation#layout-root api19 api23

SvetoslavTsenov merged commit 70f0112 into master Apr 2, 2018
ghost removed the in progress label Apr 2, 2018
SvetoslavTsenov deleted the layout-root branch April 2, 2018 19:28

lock Bot commented Aug 26, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock Bot locked and limited conversation to collaborators Aug 26, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL