Skip to content

@tonconnect/ui: SDK mishandles clicks when fixed-position elements are in the DOM #568

Description

@jenshenJ

Describe the bug

When fixed-position elements exist in the DOM (e.g. modals built on radix-ui/dialog or any fixed overlay), the TON Connect SDK handles clicks incorrectly — clicks pass through or are swallowed instead of producing the expected behavior.

Expected behavior

Clicks on the TON Connect UI are handled correctly regardless of fixed overlays in the host page.

Current behavior

When fixed-position elements exist in the DOM (e.g. modals built on radix-ui/dialog or any fixed overlay), the TON Connect SDK handles clicks incorrectly — clicks pass through or are swallowed instead of producing the expected behavior.

Steps to Reproduce

mount a radix-ui/dialog (or any fixed overlay), open the TON Connect UI, attempt to interact.

Environment

web

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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