Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tldraw] Re-render on resize #212

Open
pedrobmarin opened this issue Jul 23, 2022 · 0 comments
Open

[tldraw] Re-render on resize #212

pedrobmarin opened this issue Jul 23, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@pedrobmarin
Copy link
Collaborator

Describe the bug
When the user resizes the browser tldraw components are being re-rendered.

Expected behavior
If the playback is paused, no component should be rendering (if possible)

Screenshots

Peek 2022-07-23 09-52

Desktop (please complete the following information):

  • OS: Linux Mint
  • Browser Firefox
  • Version 103.0b9

Additional context
I do know about this:

import { withSize } from 'react-sizeme'
. Why is this necessary?

@pedrobmarin pedrobmarin added this to the v5.0.0 milestone Jul 23, 2022
@pedrobmarin pedrobmarin added the bug Something isn't working label Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants