This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
Filter field: autocomplete stays open when clicking into another filter field #840
Comments
evan-bradley
changed the title
Filter field: close autocomplete when clicking into another filter field
Filter field: autocomplete stays open when clicking into another filter field
Apr 7, 2020
Hey @evan-bradley ! We have had some focus management issues with the filter field in the past and sadly it's not as trivial, but we will look into this problem. |
tomheller
added a commit
that referenced
this issue
Apr 8, 2020
…en at the same time. To ensure that only one filterfield flap is open at the same time, we need to store the instance of the open flap in a global / module scope. If another filter field is focussed, it should close the panels of the currently opened one and then reassign itself into the open position. Fixes #840
Merged
4 tasks
tomheller
added a commit
that referenced
this issue
Apr 9, 2020
…en at the same time. To ensure that only one filterfield flap is open at the same time, we need to store the instance of the open flap in a global / module scope. If another filter field is focussed, it should close the panels of the currently opened one and then reassign itself into the open position. Fixes #840
tomheller
added a commit
that referenced
this issue
Apr 9, 2020
…en at the same time. To ensure that only one filterfield flap is open at the same time, we need to store the instance of the open flap in a global / module scope. If another filter field is focussed, it should close the panels of the currently opened one and then reassign itself into the open position. Fixes #840
tomheller
added a commit
that referenced
this issue
Apr 9, 2020
…en at the same time. To ensure that only one filterfield flap is open at the same time, we need to store the instance of the open flap in a global / module scope. If another filter field is focussed, it should close the panels of the currently opened one and then reassign itself into the open position. Fixes #840
lukasholzer
pushed a commit
that referenced
this issue
Apr 14, 2020
…en at the same time. To ensure that only one filterfield flap is open at the same time, we need to store the instance of the open flap in a global / module scope. If another filter field is focussed, it should close the panels of the currently opened one and then reassign itself into the open position. Fixes #840
github-actions bot
pushed a commit
that referenced
this issue
Apr 14, 2020
…en at the same time. To ensure that only one filterfield flap is open at the same time, we need to store the instance of the open flap in a global / module scope. If another filter field is focussed, it should close the panels of the currently opened one and then reassign itself into the open position. Fixes #840
github-actions bot
pushed a commit
that referenced
this issue
Apr 14, 2020
…en at the same time. To ensure that only one filterfield flap is open at the same time, we need to store the instance of the open flap in a global / module scope. If another filter field is focussed, it should close the panels of the currently opened one and then reassign itself into the open position. Fixes #840
yngrdyn
pushed a commit
to yngrdyn/barista
that referenced
this issue
Nov 9, 2020
…en at the same time. To ensure that only one filterfield flap is open at the same time, we need to store the instance of the open flap in a global / module scope. If another filter field is focussed, it should close the panels of the currently opened one and then reassign itself into the open position. Fixes dynatrace-oss#840
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Report
Expected Behavior
The autocomplete in a filter field should close when clicking into another filter field, just like it would for anywhere else in the page.
Current Behavior
When clicking directly into two filter fields, the autocomplete menus for both will be open.
Possible Solution
This likely sources from the filter field swallowing the click event in the _handleHostClick method.
Steps to Reproduce
StackBlitz: https://stackblitz.com/edit/github-dixtrt
Context (Environment)
We are currently presenting the user with an option to manage two sets of filters on a single set of tag data. The filter fields are close to each other, so can be activated at the same time.
Used Versions:
Detailed Description
The autocomplete for a tag filter should close when clicking into another tag filter.
Possible Implementation
Either the _getFreeTextOutsideClickStream method or the _handleHostClick method should probably handle this.
Attachments
The text was updated successfully, but these errors were encountered: