Skip to content

Commit

Permalink
Merge pull request #46 from concord-consortium/186780889-location-dro…
Browse files Browse the repository at this point in the history
…pdown-fix

Makes appearance of location selection more consistent
  • Loading branch information
lublagg authored Feb 1, 2024
2 parents ebf636a + a32e4be commit 9269c0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/location-picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@
top: 0;
right: 12px;
cursor: pointer;

&:hover {
background-color: $teal-light-25;
}
}
}
}
2 changes: 1 addition & 1 deletion src/components/location-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export const LocationPicker = () => {
onChange={handleLocationInputChange} onKeyDown={handleInputKeyDown} onBlur={handleLocationInputBlur}/>
}
</div>
{ isEditing &&
{(isEditing && locationInputEl.current?.value !=="") &&
<ul
ref={locationSelectionListElRef}
className={classnames("location-selection-list", {"show": showSelectionList, "short" : showMapButton})}
Expand Down

0 comments on commit 9269c0f

Please sign in to comment.