Skip to content

Cannot use TldrawSelectionForeground without TldrawUiContextProvider #6236

@jamesbvaughan

Description

@jamesbvaughan

What happened?

We use TldrawSelectionForeground, but not most of tldraw's other UI. With the upgrade to v3.13, wrapping our app in TldrawUiContextProvider became necessary in order to continue using TldrawSelectionForeground.

We'd prefer to avoid that because we don't need most of what TldrawUiContextProvider does. It seems to be pre-fetching icons that our application doesn't ever use.

From a quick look through the code, it seems like one option for us would be to use TldrawUiTranslationProvider, but that's not currently exported from the tldraw package.

How can we reproduce the bug?

No response

What browsers are you seeing the problem on?

No response

Where did this happen?

The developer package

Contact Details

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions