-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Issue with resizing, dragging not registering #456
Comments
I guess that you should call Line 303 in 5bb2ee7
|
Hi @blnvdanil thanks for your comment. This is indeed how I currently get around the issue. I listen for resize event and call resize on the viewport. But I expected this to be handled automatically. Is that the expected behavior @davidfig ? |
@wighawag I think it's not, because you may want to have several viewports on the screen, and in that case that is not possible to guess the way you would like to change the size of those viewports on resize of the page At least some configuration options should be available, but there are no such options as far as I can say |
Well seems that I am wrong, and there is an option |
@blnvdanil What is |
@Heilemann https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver |
Repo that reproduce the issue : https://github.com/bug-reproduction/pixi-viewport-test
When resizing the window from small to big, dragging does not register in some places, see readme : https://github.com/bug-reproduction/pixi-viewport-test#readme
The text was updated successfully, but these errors were encountered: