outline-none is to remove the border when in focus.
select-none is to prevent the text on the right side from being selected when the user double-clicks the icon. PS: when the list is expanded and then clicked again to close it, it is considered a double-click.
outline-none
is to remove the border when in focus.select-none
is to prevent the text on the right side from being selected when the user double-clicks the icon. PS: when the list is expanded and then clicked again to close it, it is considered a double-click.