HomePhabricator

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, 5:38 PM
epriestleyPushed on Jan 15 2016, 5:47 PM
Reviewer
chad
Differential Revision
D15032: Better fix for autocomplete blur (select on mousedown instead of delaying blur)
Parents
rP3c19004f9f41: Fix blur and sort behavior for autocomplete
Branches
Unknown
Tags
Unknown
Tasks
T10163: Remarkup Autocomplete Errata
Build Status
Buildable 10146
Build 12308: Run Core Tests