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

inner_size doesn't update when resizing #384

Closed
1 of 2 tasks
wusyong opened this issue Aug 17, 2021 · 1 comment · Fixed by #394
Closed
1 of 2 tasks

inner_size doesn't update when resizing #384

wusyong opened this issue Aug 17, 2021 · 1 comment · Fixed by #394

Comments

@wusyong
Copy link
Member

wusyong commented Aug 17, 2021

Describe the bug
Reported by tauri/2187
When resizing the window, inner_size returned from event isn't updated. But outer_size is still working fine
This seems to happen when using wry on top of tao.

Steps To Reproduce
TODO

Expected behavior
inner_size got updated.

Platform and Versions (please complete the following information):
OS: macOS
Rustc: Stable

Would you assign yourself to resolve this bug?

  • Yes
  • No
@wusyong
Copy link
Member Author

wusyong commented Aug 17, 2021

This is caused by we replace orginial nsview with webview but the nsview field of the window in tao isn't updated.

@wusyong wusyong transferred this issue from tauri-apps/wry Aug 17, 2021
@wusyong wusyong transferred this issue from tauri-apps/tao Aug 17, 2021
@wusyong wusyong self-assigned this Aug 17, 2021
@wusyong wusyong closed this as completed Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant