Improve customizable select event handling
This patch restores some of the logic removed in
http://crrev.com/c/5786670 which prevented the popup invoking logic from
running when clicking on descendants of the select element. Without
this, clicking on elements inside the popover would cause the select
popover to close unexpectedly.
Fixed: 369794218
Change-Id: Iad21272eec54fd779a388ff75ab3453a76e34589
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5879126
Commit-Queue: Joey Arhar jarhar@chromium.org
Reviewed-by: Traian Captan tcaptan@chromium.org
Cr-Commit-Position: refs/heads/main@{#1368409}