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

Selecting the parent of the drop down

Open Saragani opened this issue 2 years ago • 1 comments

Is there a way to select the parent of the drop down?

For example, in react-select, there is: menuPortalTarget

In my case, I'm using Material UI dialog, and the select is being truncated by the dialog borders. What's the solution?

Example of the problem: image

Thanks

Saragani avatar Aug 28 '22 07:08 Saragani

I came across the same problem too. It worked out for me to override its position to fixed .react-tel-input .country-list { position: fixed }

cronon avatar Jan 25 '23 07:01 cronon