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

DatePicker - centering the Popper to the center of the window #15291

Open
isdisd2 opened this issue Nov 6, 2024 · 0 comments
Open

DatePicker - centering the Popper to the center of the window #15291

isdisd2 opened this issue Nov 6, 2024 · 0 comments
Labels
new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@isdisd2
Copy link

isdisd2 commented Nov 6, 2024

Summary

how to set Popper's DatePicker position centered on the center of the window, similar to what MobileDatePicker does? MobileDatePicker does this automatically. Please add this option to DatePicker/DesktopDatePicker.
I can't use MobileDatePicker because I need a keyboard to enter the date. The keyboard is disabled in the mobile version.

Examples

slotProps={{
popper: {
placement: "center-center",
},
}}

Motivation

the 'placement' property, if set to "auto", sometimes places the popper outside the visible area of ​​the window.

Search keywords: center position DatePicker

@isdisd2 isdisd2 added new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant