ton-connect / sdk

SDK for TON Connect 2.0 — a comprehensive communication protocol between wallets and apps in TON ecosystem
Apache License 2.0
165 stars 40 forks source link

[UI]: Modal is showing up behind other modal #185

Open XantreDev opened 3 weeks ago

XantreDev commented 3 weeks ago

Describe the bug

Show <dialog> modal to user with button to connect wallet After click to button modal will be shown behind of <dialog> modal image

Expected behavior

I expected it to be shown over <dialog> modal

Current behavior

Tonconnect modal behind of dialog modal

Steps to Reproduce

https://stackblitz.com/edit/stackblitz-starters-npvfnq?file=index.html

  1. Open preview in separate tab (CORS)
  2. Click to Open dialog
  3. Click to Open tonconnect

Environment

Additional context

No response

XantreDev commented 3 weeks ago

I can try to provide PR

wizidot commented 2 weeks ago

Try to change the z-index property (with style or props) on your

component.

XantreDev commented 1 week ago

Try to change the z-index property (with style or props) on your component.

I use dialog element, it renders on top layer