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) => {

View file

@ -9160,7 +9160,12 @@ ts-pnp@^1.1.6:
resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92"
integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==
tslib@^1.11.2, tslib@^1.9.0, tslib@^1.9.3:
tslib@^1.11.2:
version "1.13.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043"
integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==
tslib@^1.9.0, tslib@^1.9.3:
version "1.12.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.12.0.tgz#d1fc9cacd06a1456c62f2902b361573e83d66473"
integrity sha512-5rxCQkP0kytf4H1T4xz1imjxaUUPMvc5aWp0rJ/VMIN7ClRiH1FwFvBt8wOeMasp/epeUnmSW6CixSIePtiLqA==