iOS issue: Modal closes immediately after launch
See original GitHub issueIf you haven’t already, check out our contributing guidelines for onboarding!
Expected Result:
Add attachment
modal should remain open until dismissed.
Actual Result:
Add Attachment
modal closes immediately when we attempt to display it. This only seems to occur when we attempt to launch Modal B from a callback within Modal A
Action Performed:
At present, we’ve applied a temporary fix for this issue by using setTimeout to delay the launching of the second Modal However, that fix is sub-optimal and we are seeking a better permanent solution. See screen recording for a demo of the issue.
- Open Expensify.cash on iOS
- Tap into a chat with 2 or more participants
- Click the paperclip icon to launch Modal A
- Click
Add Attachment
to launch Modal B - Notice the
Add Attachment
modal (Modal B) closes immediately
Notes
This is the location of the problem/workaround.
Platform:
iOS
Version Number: 1.0.2-89
Videos:
Issue Analytics
- State:
- Created 3 years ago
- Comments:25 (23 by maintainers)
Top Results From Across the Web
In iOS 15, when the app is restarted, it immediately crashes.
After the iOS 15 update, the following process causes the app to die. Go to the home screen while running the app; Completely...
Read more >IOS crash when closing a modal in expo managed project
When my app starts, there is a modal showing up with a button to access the app without any account. The crashs happen...
Read more >Using modals in Slack apps
An app has the ability to close views within a modal. This can happen only in response to the user clicking a submit...
Read more >Modal · Bootstrap v5.1
Clicking on the modal “backdrop” will automatically close the modal. Bootstrap only supports one modal window at a time. Nested modals aren't supported...
Read more >Fix crash issues when launching InDesign - Adobe Support
Before you proceed, follow these steps to troubleshoot some of the common issues yourself if InDesign crashes unexpectedly or becomes ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kidroca no need for a title. Here are the assets you need: Icons.zip
@kidroca - Thank you for your solution, I have sent sent you the job on upwork. We look forward to your pull request.