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

[Problem/Bug]: Paste function is out of focus when using the toolbar's shortcut icon. #4535

Open
WHUWeiYanLin opened this issue May 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@WHUWeiYanLin
Copy link

What happened?

When I click on the toolbar icon, the input box goes out of focus, what can I do so that when I finish clicking on the toolbar icon, the focus automatically goes back to where the cursor last rested
image

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

No response

SDK Version

No response

Framework

Other

Operating System

Other

OS Version

ubantu22

Repro steps

image

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

@WHUWeiYanLin WHUWeiYanLin added the bug Something isn't working label May 6, 2024
@victorhuangwq
Copy link
Collaborator

Sorry, is this a WebView2 issue or an Edge browser issue?

@WHUWeiYanLin
Copy link
Author

I've solved this problem by removing the default behavior of the “onmousedown” event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants