MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: `<select>` dropdown menu gap mouseout issue

Open
#4,646 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

What happened?

In Microsoft Edge, there is a gap between the <select> dropdown menu and its options when you expand the menu:

image

This can lead to issues with the mouseout event where the user is not able to select the menu options using the mouse because the menu closes prematurely.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

126.0.2592.68

SDK Version

No response

Framework

Other

Operating System

Windows 10

OS Version

19045.4529

Repro steps
  1. Go to https://jsfiddle.net/thdoan/kev4Lsha/6/
  2. Select a menu option.
  3. Observe the issue.

Expected behavior

The background should NOT change to red when you select an option, but it does because of the gap. Try following the steps above in Chrome -- you should see that Chrome dropdown menus have no such gap, hence do not suffer from this bug.

Repros in Edge Browser

Yes, issue can be reproduced in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

AB#51992442

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the JSFiddle reproduction at https://jsfiddle.net/thdoan/kev4Lsha/6/ in WebView2 Stable 126.0.2592.68 on Windows 10, then compare the same steps in Chrome. Done means the select menu has no gap, remains open while moving to an option, and does not trigger the premature mouseout behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
frontend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.