fix the search input addresses return box bug [Carto]

This commit is contained in:
kara Diaby 2020-05-19 15:28:42 +02:00
parent bf7c33949c
commit c37b32ac94
2 changed files with 7 additions and 13 deletions

View file

@ -58,18 +58,7 @@ const SearchInput = ({ getCoords }) => {
onChange={handleSearchTermChange}
/>
{addresses.features && (
<ComboboxPopover
style={{
borderTopColor: '#ddd',
marginTop: '-1px',
boxShadow: '0 2px 4px rgba(0,0,0,.15)',
position: 'absolute',
width: '400px',
left: '351px',
top: '5562px'
}}
className="shadow-popup"
>
<ComboboxPopover className="shadow-popup">
{addresses.features.length > 0 ? (
<ComboboxList>
{addresses.features.map((feature) => {