Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Connect view on safari mobile & Remove unnecessary validation check for autoSelect #1773

Merged
merged 4 commits into from
Jun 13, 2023

Conversation

Adamj1232
Copy link
Member

@Adamj1232 Adamj1232 commented Jun 13, 2023

Description

Add padding to mobile modal container if the device is mobile and running Safari
Removes required validation check for autoSelect on a wallet when connecting as there is a fallback available within the connect.ts file

IMG_1720

Closes: #1745 & #1736

Checklist

  • Increment the version field in package.json of the package you have made changes in following semantic versioning and using alpha release tagging
  • Check the box that allows repo maintainers to update this PR
  • Test locally to make sure this feature/fix works
  • Run yarn check-all to confirm there are not any associated errors
  • Confirm this PR passes Circle CI checks
  • Add or update relevant information in the documentation

@vercel
Copy link

vercel bot commented Jun 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web3-onboard-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2023 5:19pm

@socket-security
Copy link

New and updated dependency changes detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives1 Size Publisher
@web3-onboard/core 🆕 2.19.2 None +0 661 kB cmeisl

Footnotes

  1. https://docs.socket.dev

@leightkt
Copy link
Contributor

The code looks good by when I tested, I'm still getting the cut off view:

IMG_94EB8A13F24C-1

@Adamj1232
Copy link
Member Author

Adamj1232 commented Jun 13, 2023

@leightkt hmm that's strange can you try using this deployed instance of the demo? https://6488b59f90bf8e059033083b--profound-biscuit-298ac8.netlify.app/

@leightkt
Copy link
Contributor

leightkt commented Jun 13, 2023

@Adamj1232 Confirm- view on the deployed version is correct view (not cut off)

@Adamj1232 Adamj1232 merged commit d399e0b into develop Jun 13, 2023
@Adamj1232 Adamj1232 deleted the fix/connect_view_safari branch June 13, 2023 18:43
leightkt added a commit that referenced this pull request Jun 27, 2023
* update Google Analytics Script (#1770)

* feat: add OneKey wallet  (#1739)

* feat: Support OneKey wallet

* fix: OneKey docs

* Update injected package.json version

* Update demo package.json

---------

Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>

* Fix: Connect view on safari mobile & Remove unnecessary validation check for autoSelect (#1773)

* working as expected

* Bump versions

* Remove testing css

* Remove testing code from demo

* feat: add blocto wallet (#1699)

* Release 2.24.1 (develop) (#1776)

* Release 2.24.1 (docs) (#1778)

* Update +page.md (#1775)

* Feature- update appMetadata (#1779)

* update versions

* Upgrade wallet connect v2 packages (#1788)

---------

Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>
Co-authored-by: ByteZhang <ByteZhang@protonmail.com>
Co-authored-by: jimmy.pan <pan831225@gmail.com>
Co-authored-by: vanes <vanessa.mercado24@gmail.com>
leightkt added a commit that referenced this pull request Jun 27, 2023
* update Google Analytics Script (#1770)

* feat: add OneKey wallet  (#1739)

* feat: Support OneKey wallet

* fix: OneKey docs

* Update injected package.json version

* Update demo package.json

---------

Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>

* Fix: Connect view on safari mobile & Remove unnecessary validation check for autoSelect (#1773)

* working as expected

* Bump versions

* Remove testing css

* Remove testing code from demo

* feat: add blocto wallet (#1699)

* Release 2.24.1 (develop) (#1776)

* Release 2.24.1 (#1777)

* Update +page.md (#1775)

* Feature- update appMetadata (#1779)

* update versions

* Upgrade wallet connect v2 packages (#1788)

---------

Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>
Co-authored-by: ByteZhang <ByteZhang@protonmail.com>
Co-authored-by: jimmy.pan <pan831225@gmail.com>
Co-authored-by: vanes <vanessa.mercado24@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

autoSelect is typed as optional but validated as required
2 participants