Skip to content

Commit

Permalink
fix: blur select element to prevent need to double click to open again
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Jun 7, 2021
1 parent 235a30b commit fa71319
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/observability-packs.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ const ObservabilityPacksPage = ({ data, location }) => {
value={sortState}
onChange={(e) => {
setSortState(e.target.value);
document.getElementById(e.target.id).blur();
}}
>
{sortOptionValues.map((sortOption) => (
Expand All @@ -163,6 +164,7 @@ const ObservabilityPacksPage = ({ data, location }) => {
value={containingFilterState}
onChange={(e) => {
setContainingFilterState(e.target.value);
document.getElementById(e.target.id).blur();
}}
>
{packContentsFilterValues.map((packContentsItem) => (
Expand Down

0 comments on commit fa71319

Please sign in to comment.