HomePhorge

Better fix for autocomplete blur (select on mousedown instead of delaying blur)

Description

Better fix for autocomplete blur (select on mousedown instead of delaying blur)

Summary: Ref T10163. I would still sometimes not get a replacement after clicking with the delayed blur. This seems to fix the issue more consistently: instead of listening for a click event (which fires after the blur), listen for a mousedown event (which fires before the blur).

Test Plan: Observed consistent selection via mouse locally.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10163

Differential Revision: https://secure.phabricator.com/D15032

Details

Provenance
epriestleyAuthored on Jan 15 2016, 9:38 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP3c19004f9f41: Fix blur and sort behavior for autocomplete
Branches
Unknown
Tags
Unknown

Event Timeline