With preferred-countries prop set, keyboard search ignores those countries and positions on first found non-preferred country which meets input.
Steps to reproduce
With preferred-countries prop set, those countries are at the top. For example: ['GB', 'DE']
Click on country selector and start typing Ge...
Cursor will be positioned to Georgia.
Expected behavior
Search should be positioned to first found country in list, preferred countries should have priority to the the rest.
Describe the bug
With preferred-countries prop set, keyboard search ignores those countries and positions on first found non-preferred country which meets input.
Steps to reproduce
With preferred-countries prop set, those countries are at the top. For example: ['GB', 'DE'] Click on country selector and start typing Ge... Cursor will be positioned to Georgia.
Expected behavior
Search should be positioned to first found country in list, preferred countries should have priority to the the rest.
Device