Skip to content

Commit

Permalink
Bug 1930522 [wpt PR 49104] - Prevent document from scrolling in custo…
Browse files Browse the repository at this point in the history
…mizable select popover, a=testonly

Automatic update from web-platform-tests
Prevent document from scrolling in customizable select popover

Pressing up or down on the first or last option of a customizable select
should not let the document scroll. This was happening because the
default event handler of the option was not handling the default if
there was no option to focus in this keyboard event handler, but by
setting the default as handled anyway this bug goes away. This was
identified here:
openui/open-ui#1087 (comment)

Change-Id: I56ab094f468df1ef4847011763e20ea7e759d3f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6006515
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Traian Captan <tcaptanchromium.org>
Cr-Commit-Position: refs/heads/main{#1381284}

--

wpt-commits: f9488ce540284c1af7c25868a058f36a80cf646a
wpt-pr: 49104

UltraBlame original commit: c7a5c58521dbc0efc233511f53f3c1e07c890039
  • Loading branch information
marco-c committed Nov 16, 2024
1 parent 8c7ecdc commit 4bb7167
Showing 1 changed file with 428 additions and 0 deletions.
Loading

0 comments on commit 4bb7167

Please sign in to comment.