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

Use Resize Observer API #511

Closed
Danielku15 opened this issue Jan 10, 2021 · 0 comments · Fixed by #516
Closed

Use Resize Observer API #511

Danielku15 opened this issue Jan 10, 2021 · 0 comments · Fixed by #516
Assignees
Labels
area-maintenance Overall code maintenance related platform-javascript Related to the JavaScript version of alphaTab type-improvement 🚀

Comments

@Danielku15
Copy link
Member

Currently alphaTab listens to the overall browser window resize to detect whether the control needs resize-rendering. The resize observer API allows directly observing the resize of parent container.

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

@Danielku15 Danielku15 added type-improvement 🚀 platform-javascript Related to the JavaScript version of alphaTab area-maintenance Overall code maintenance related labels Jan 10, 2021
@Danielku15 Danielku15 self-assigned this Jan 10, 2021
This was referenced Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-maintenance Overall code maintenance related platform-javascript Related to the JavaScript version of alphaTab type-improvement 🚀
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant