react-multi-select-component icon indicating copy to clipboard operation
react-multi-select-component copied to clipboard

[ Feature ] :: Implement portal solution for dropdown

Open stepinfwd opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. When using nested containers / divs the dropdown will be opening below the parent container rather than showing upfront.

Describe the solution you'd like Implement a portal : https://reactjs.org/docs/portals.html https://react-select.com/advanced#portaling

Add any other context or screenshots about the feature request here. https://user-images.githubusercontent.com/31006028/184071864-f0096a78-1ebf-4fb5-a0cd-61ca0b6f25a5.mov

stepinfwd avatar Aug 11 '22 05:08 stepinfwd

@stepinfwd why not just portal entire component?

https://codesandbox.io/s/rmsc-portal-example-823r4k

closing this for now

harshzalavadiya avatar Aug 12 '22 16:08 harshzalavadiya

Re-opening this, I guess this can be taken as low priority for now, but will be nice to have

due to current technical limitations/styling issues this will take a lot of restructuring

p.s. PRs are welcome

harshzalavadiya avatar Aug 13 '22 17:08 harshzalavadiya