walletconnect-monorepo
walletconnect-monorepo copied to clipboard
fix: avoid deeplinking if document isn't in focus
Description
Avoid deeplinking if document is not in focus. This resolves an issue where deeplinks initiated when app was in background would trigger when the app is back in focus leading to confusing behaviour
Type of change
- [ ] Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Draft PR (breaking/non-breaking change which needs more work for having a proper functionality [Mark this PR as ready to review only when completely ready])
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
How has this been tested?
canary 2.14.0-canary-cff8cfe
Checklist
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
- [ ] Any dependent changes have been merged and published in downstream modules
Additional Information (Optional)
Please include any additional information that may be useful for the reviewer.