https://codesandbox.io/s/6lol2kz3v3
When the modal is scrolled, the timepicker just stays on the same position instead of getting scrolled together with the other components.
What would be the correct way to fix this?
https://codesandbox.io/s/6lol2kz3v3
When the modal is scrolled, the timepicker just stays on the same position instead of getting scrolled together with the other components.
What would be the correct way to fix this?
Copyright © 2021 Jogjafile Inc.
Solved with adding the prop
getPopupContainer={triggerNode => triggerNode.parentNode}
to the component.