JedWatson / react-select

The Select Component for React.js
https://react-select.com/
MIT License
27.63k stars 4.13k forks source link

Menu Position is fixed in an auto-height Modal #5631

Open kimi-truong opened 1 year ago

kimi-truong commented 1 year ago

Hello Team,

I'm facing an issue with the Menu position. It doesn't follow the component when the height of the Modal keeps increasing. I'm using react-select@5.5.1. Please help me take a look at it 🙏 . And could you please recommend a solution to fix it? Thank you so much !!! 🙏 🙏 🙏

codesandbox: https://codesandbox.io/s/react-select-modal-smrfh5?file=/src/App.js

https://user-images.githubusercontent.com/84055114/236016216-c893f227-a0bf-42b7-b345-cade32f4d49c.mov

https://user-images.githubusercontent.com/84055114/236135761-060fb63a-0683-46a4-80b8-b73f9a2ffa2e.mov

kimi-truong commented 1 year ago

And I found it worked well on react-select@4.3.1

https://user-images.githubusercontent.com/84055114/236856182-dd8e9f32-a78b-4c35-bb33-c54f14159690.mov

p-abasian commented 1 year ago

I have the same issue - any update on this?