Replies: 1 comment
-
Set a import { useRef } from 'react';
const ref = useRef();
<main>
<div className="container">
<DateRangePicker container={() => ref.current} />
<div ref={ref}>Here, we are expecting the calender.</div>
</div>
</main> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently facing an issue with the
DateRangePicker
component in RSuite. Upon implementation, I noticed that the calendar is unexpectedly opening outside the intended container.Is there any way we can modify the appearance of the calendar to ensure it opens within the specified container? Right within the
div
where we used<DateRangePicker/>
Beta Was this translation helpful? Give feedback.
All reactions