Skip to content
Commit c3eec68b authored by Anthony Carrington's avatar Anthony Carrington Committed by Chromium LUCI CQ
Browse files

Prevent file picker from closing lens upload dialog

The issue was caused from https://chromium-review.googlesource.com/c/chromium/src/+/4087385, which closes the upload dialog during focusOut events if the relatedTarget is null (which happens when the file picker is open). To fix this, we can make sure the document has focus (which it doesn't when the file picker is opened) before closing.

Screencast of fix and helpful console logs: https://screencast.googleplex.com/cast/NTYzMzE3ODU1NjQzMjM4NHxmNWYyNmJkYy1iNg

Bug: 1406771, b/273961108
Change-Id: I87be5930ba1bb19264af4a03140ecb24f4fe4c38
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4338401


Commit-Queue: Anthony Carrington <acarrington@google.com>
Reviewed-by: default avatarRoman Arora <romanarora@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1118921}
parent 2eb486e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment