-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pickers] Change DateRangePicker
popper anchor element
#10824
Comments
Hello @david-ic3 However, I'd advise rethinking your UX strategy because such a solution produces unwanted layout shifting after date selection. |
@LukasTy , thanks that works. If we would like to fix it to the after date anchor, I agree is a better option , could we do it without the useMemo's ? |
@david-ic3 Here is an example with statically setting the |
DateRangePicker
popper anchor element
@LukasTy , works like a charm, thanks |
I'm glad to hear it, but it's still not the most proper and clean solution, that's why I'm reopening this issue to give the opportunity to discuss it among the team and also wait for confirmation of how relevant this is via the 👍. 😉 |
The problem in depth 🔍
We are using a Range Date Picker where the start and end dates are one below the other one.
You can check the example in CodeSandBox ( link ) .
The issue is than when you open the DateRangeCalendar, click in 'check-in' input . The Calendar overlaps the check-out input div.
Is there a way to position the Popper below the check-out div ?
Your environment 🌎
No response
Search keywords: DatePicker popper position
Order ID: #19458
The text was updated successfully, but these errors were encountered: