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

<a href="#a%20b"></a> not work in webview #134286

Closed
ddu6 opened this issue Oct 1, 2021 · 2 comments
Closed

<a href="#a%20b"></a> not work in webview #134286

ddu6 opened this issue Oct 1, 2021 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders verified Verification succeeded webview Webview issues
Milestone

Comments

@ddu6
Copy link

ddu6 commented Oct 1, 2021

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.60.2
  • OS Version: Windows_NT x64 10.0.19043

Steps to Reproduce:

  1. Create a webview with the following html
    <a href="#a%20b">click me</a>
    <div style="height:100vh"></div>
    <div id="a b">target</div>
  2. Click the anchor element in webview.

After the above steps, we expect to see the div element with text "target" scroll into view. However, nothing happens actually.

@mjbvz mjbvz added bug Issue identified by VS Code Team member as probable bug webview Webview issues labels Oct 1, 2021
@mjbvz mjbvz added this to the October 2021 milestone Oct 1, 2021
@mjbvz mjbvz closed this as completed in d96ced4 Oct 12, 2021
@mjbvz mjbvz added the author-verification-requested Issues potentially verifiable by issue author label Oct 12, 2021
@ddu6
Copy link
Author

ddu6 commented Oct 13, 2021

/verified

@github-actions github-actions bot locked and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders verified Verification succeeded webview Webview issues
Projects
None yet
Development

No branches or pull requests

3 participants
@mjbvz @ddu6 and others