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
Explorer scroll bar pointer isn't captured when it enters a webview #140101
Comments
@rebornix the pointer capture thing is how I solve this to allow continued listening to pointer events from within the webview even when the pointer is outside, so if that works it'll probably be more reliable than a cover element approach. |
@Tyriar What exact DOM API are you using? At https://mdn.github.io/dom-examples/pointer-lock/ I get three undesirable behaviors:
|
@alexdima I believe you were looking at the pointer-lock api which is different than the pointer capture api that @Tyriar was proposing: https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture |
Repro:
Possible fix is to set/release pointer capture. Might be an issue in webviews?
The text was updated successfully, but these errors were encountered: