Skip to content

Allow passing safe-zone dimensions to the SDK #577

Description

@jenshenJ

Describe the bug

The SDK doesn't accept custom safe-zone dimensions, so the UI can't account for them when positioning.

Expected behavior

An API to explicitly pass safe-zone dimensions so the UI positions correctly

Current behavior

The UI ignores host safe zones; the only workaround is monkey-patching the SDK, which is unacceptable for production.

Steps to Reproduce

1.Use the SDK in a layout with custom safe zones (e.g. modals/overlays or device insets).
2.Open the TON Connect UI.

Environment

web

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