Files
gerrit/polygerrit-ui/app/elements/shared/gr-autocomplete
Becky Siegel ae0666030e Fix reviewer and cc dialogs both opening
On Ubuntu, when 'Add CC' was clicked, both the cc suggestions and
reviewer suggestions opened simultaneously.

Then the reply dialog opens, _handleReplyOverlayOpen is called from the
change view. That ends up triggering _focusOn (in the reply dialog) on
the reviewers input. _focusOn is called a second time, to focus on the
CCs, but since the _focused attribute for the initial autocomplete was
not removed, they both remain open.

This change fixes the issue by removing the focused attribute on
gr-autocomplete when _onInputBlur is called.

Bug: Issue 7464
Change-Id: Ibb565dd2b28ccd5485380f9ff06ed9319f69e301
2017-11-06 23:27:57 +00:00
..