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

Frame.topmost() unexpected behavior after closing modal dialog with frame inside · Issue #5340 · NativeScript/NativeScript · GitHub

Frame.topmost() unexpected behavior after closing modal dialog with frame inside #5340

Description

Tell us about the problem

Frame.topmost() generally returns the last frame that performed navigation. However, with ns-4.0 there is a scenario where you can open a modal dialog with frame inside (and presumably navigate within the modal). Then at some point you close the modal dialog -- the unexpected behavior is that if you call Frame.topmost() at this moment it will return the frame from the modal dialog (that is actually unloaded) -- it should return the host frame or undefined.

Which platform(s) does your issue occur on?

Both

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.4.1
  • Cross-platform modules: 4.0.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL