react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

Dropdown button on hover background colour should be applied on flag-dropdown instead of selected-flag

Open Kushagra8888 opened this issue 3 years ago • 3 comments

The div with class flag-dropdown can be augmented with additional classes and styles thanks to the buttonClass prop. While this can be used to modify the background colour, the background colour on hover is defined in the inner div with class selected-flag. Removing it from there and adding it to flag-dropdown would make it easier to customise.

https://codesandbox.io/s/kind-bush-rgyz7?file=/src/App.js

Kushagra8888 avatar Dec 23 '20 06:12 Kushagra8888

I have the same problem, would by happy to hear about a solution

ChenDimri avatar May 19 '22 09:05 ChenDimri

Any ideas?

danchistyakov avatar Aug 26 '22 10:08 danchistyakov

Use bootstrap theme, then overwrite what you want, worked for me.

pieterjan-advantitge avatar May 24 '23 09:05 pieterjan-advantitge