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

DataList element in webview2 opens behind the main window #9762

Closed
vishal2447 opened this issue Jun 5, 2024 · 5 comments
Closed

DataList element in webview2 opens behind the main window #9762

vishal2447 opened this issue Jun 5, 2024 · 5 comments
Labels
area-WebView bug Something isn't working team-Controls Issue for the Controls team

Comments

@vishal2447
Copy link

Describe the bug

I have a html page with the datalist element in it. When I load the html in the webview 2 control in a WinUI application I initially thought the dropdown didn't open but actually the dropdown was opening all along but behind the window. I was able to indentify this when i moved the window. Once i move the window and try to open datalist again the dropdown still open in the last place it opened.

Steps to reproduce the bug

I have created a sample repo to reproduce the issue.

  1. have a html page with the datalist element in it
  2. open the html page in the webview2
  3. click on the datalist element in page

Expected behavior

the datalist dropdown is opened above the window

Screenshots

Recording.2024-06-05.142202.mp4

NuGet package version

Windows App SDK 1.5.3: 1.5.240428000

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022-preview, Visual Studio 2022

Additional context

No response

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jun 5, 2024
@vishal2447
Copy link
Author

Hi team, Could anyone check on this issue

@codendone codendone transferred this issue from microsoft/WindowsAppSDK Jun 27, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@codendone codendone added bug Something isn't working area-WebView team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Jun 27, 2024
@vishal2447
Copy link
Author

Hi team, Could anyone check on this issue

1 similar comment
@vishal2447
Copy link
Author

Hi team, Could anyone check on this issue

@champnic
Copy link

champnic commented Sep 6, 2024

This is fixed in WebView2 runtimes 130.0.2810.0+. Please validate your scenario using a Canary/Dev/Beta runtime. Or this will be available in the evergreen stable runtime around the end of October. Thanks!

@codendone feel free to close this issue.

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

No branches or pull requests

3 participants