NativeScript / NativeScript/ios

Page reloaded when opening and closing fullscreen modal

Open
#251 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
150
Forks
43
Avg merge
3d 10h
Merged PRs (30d)
22

Description

I have a Page (parent) that opens a modal (child) using Vue's $showModal. On Android, parent page is loaded once as expected. On iOS, parent page is loaded, then unloaded when modal is shown, then loaded again when modal closes. I know this because navigatingTo/loaded/unloaded are all called multiple times.
8.7.0
Same result with 8.7.1-next.2024-04-16-8705084282

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on iOS with NativeScript 8.7.0 and the listed 8.7.1-next build, using a parent Page that opens a child with $showModal. Trace the navigatingTo, loaded, and unloaded callbacks while opening and closing the fullscreen modal; done means the parent remains loaded as it does on Android.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.