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

Forced/default position top/bottom (left/right) #1026

Closed
RoyvanEmpel opened this issue Nov 1, 2024 · 0 comments
Closed

Forced/default position top/bottom (left/right) #1026

RoyvanEmpel opened this issue Nov 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@RoyvanEmpel
Copy link

Is your feature request related to a problem? Please describe.
I'm al looking for a way to force the datepicker to always (or by default) go up instead of down.
Currently The datepicker opens like in screenshot 1.

When I make my screen smaller it snaps into the other direction and looks like screenshot 2.

For my use case it would be nice if it would always open to the top since the input is the last in this popup and when opening it currently it creates a scroll.

Describe the solution you'd like
A way to force the (default) opening position to top / bottom, this could maybe be made with positioning to the left and right of the input.

An option like :auto-position="false" but instead of false there should be "top" or "bottom"

Describe alternatives you've considered
A forced or a default (until it no longer fits) configuration would both work.

Additional context
Screenshot 1:
image

Screenshot 2
image

@RoyvanEmpel RoyvanEmpel added awaiting triage The issue is not reviewed by the maintainers enhancement New feature or request labels Nov 1, 2024
@Jasenkoo Jasenkoo removed the awaiting triage The issue is not reviewed by the maintainers label Nov 2, 2024
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

2 participants