Fixed many dropdown bugs (#8256)

Many dropdown bugs have been fixed, more refactoring is needed.

Dropdown fixed : 
- Filter select
- Sort select
- Visible field select
- Hidden field select
- Multi item picker (phones, links, emails, etc.)
- Phone country select
This commit is contained in:
Lucas Bordeau
2024-11-01 09:23:01 +01:00
committed by GitHub
parent a287edd91b
commit c93d2bcd5e
15 changed files with 276 additions and 182 deletions

View File

@ -74,8 +74,8 @@ export const PhoneCountryPickerDropdownButton = ({
);
const handleChange = (countryCode: string) => {
onChange(countryCode);
closeDropdown();
onChange(countryCode);
};
const countries = useCountries();
@ -89,7 +89,6 @@ export const PhoneCountryPickerDropdownButton = ({
return (
<Dropdown
dropdownMenuWidth={'100%'}
dropdownId="country-picker-dropdown-id"
dropdownHotkeyScope={{ scope: CountryPickerHotkeyScope.CountryPicker }}
clickableComponent={