Skip to content

UI-REACT: Wrong modal in mobile #156

@abolfazlakbarzadeh

Description

@abolfazlakbarzadeh

Describe the bug

not working correctly on a variety of mobile screens, some mobile screens are wider than 440px so the modal shows a QR Code to scan instead of displaying wallets to select and navigate into the related app

Expected behavior

on any mobile device should show a modal to select wallet and then navigate to the app to confirm connection or payment

Current behavior

some mobile screens are wider than 440px so the modal shows a QR Code to scan instead of displaying wallets to select and navigate into the related app

Steps to Reproduce

1- use a mobile for example POCO x3 pro, this model's screen width is ~490px
2- open up the webpage that contains the connect or pay button and click on it.
3- so you see a modal that shows a QR Code to scan

Environment

└─┬ @tonconnect/[email protected]
└─┬ @tonconnect/[email protected]
└─┬ @tonconnect/[email protected]
├── @tonconnect/[email protected]
├── @tonconnect/[email protected]
└── @tonconnect/[email protected]

  Android 10
  Chrome

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions