Skip to content
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

[Feature Request]: Prevent DataPicker and DataRangePicker to resize/jump when clicking through months #3140

Open
2 tasks done
apisarev opened this issue Dec 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@apisarev
Copy link

Description

When DatePicker and DateRangePicker popups open above the input, then clicking the left and right buttons resizes the popup content, causing arrow positions to jump up and down. This effect is not noticeable when the popup opens down.

DataPicker

DataRangePicker

Code of Conduct

@apisarev apisarev added the enhancement New feature or request label Dec 13, 2024
@apisarev
Copy link
Author

To reproduce:

  1. Open DatePicker or DateRangePicker playground
  2. Add a bit more space above the component by changing some div height from above using the DevTools
  3. Enable expandToViewport
  4. Scroll the page so that the popup would open up, not down

@apisarev
Copy link
Author

A possible solution, when the popup opens up, always display 6 rows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant