Use 'pointerdown' instead of 'mousedown' in cr-searchable-dropdown
IronScrollManager, used by the iron-dropdown element, is capturing 'touchstart' events and canceling the default action when touching outside the dropdown. This is causing the 'mousedown' event to be suppressed, preventing the 'mousedown' listener from working on touchscreens. Listening for the 'pointerdown' event instead bypasses this issue since the event does not appear to be canceled like 'mousedown'. Bug: 1004984 Change-Id: I23dbd203baffcdd9b9f9b61a58adf7b930cfe4da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1847459 Commit-Queue: Anand Mistry <amistry@chromium.org> Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#704937}
Showing
Please register or sign in to comment