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

WebView: Resizing window results in content moved away on Apple WebKit #67

Open
atsushieno opened this issue Dec 12, 2024 · 0 comments
Open

Comments

@atsushieno
Copy link

I'm trying to use choc on my WebView based C++ app. My app seems to work in general, but if I set enableDebugMode = true on its options, perform the "Inspect Element" command on the WebView, and resize the choc::ui::DesktopWindow on macOS, then the WebView content is moved beyond zero-height and content around the top area goes out of the visible area.

It is reproducible with tests/choc_webview_example.h too (needs longer content page so that it becomes scrollable). It does not happen if I simply navigate to the example demo URL (github) and operate the same though.

For the record, I had the same experience when I used saucer.

Confirmed with 2d58413 / macOS Sonoma 14.7 / AppleClang 16.0.0.16000026.

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

No branches or pull requests

1 participant