Skip to content

fix(regl-renderer): added handling of element resize events#1393

Open
z3dev wants to merge 1 commit intomasterfrom
fix-resize
Open

fix(regl-renderer): added handling of element resize events#1393
z3dev wants to merge 1 commit intomasterfrom
fix-resize

Conversation

@z3dev
Copy link
Member

@z3dev z3dev commented May 11, 2025

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Does your submission pass tests?

@hrgdavor
Copy link
Contributor

It would ne better to use resize observer. It reacts to changes in canvas size that can be result of layout change or some other Dom changes

https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants