fix the search input addresses return box bug [Carto]
This commit is contained in:
parent
bf7c33949c
commit
c37b32ac94
2 changed files with 7 additions and 13 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue