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

Orientation 'auto' doesn't calculate to correctly #2588

Open
huseyinturkmenoglu opened this issue Sep 13, 2020 · 0 comments · May be fixed by #2589
Open

Orientation 'auto' doesn't calculate to correctly #2588

huseyinturkmenoglu opened this issue Sep 13, 2020 · 0 comments · May be fixed by #2589

Comments

@huseyinturkmenoglu
Copy link

Expected behaviour

We are using attribute orientation auto. We know that it's the default attribute. We have a fixed header. It's features : z-index: 9996 and height: 25px.

We are using datepicker in a lot of areas. The datepicker changes direction at critical places between Window Top and the datepicker and there is a z-index problem. I added an example of jsfield.
Steps:
Click input and months, you see the issue. Or you can try according to the steps of the following image.

image
image

Actual behaviour

For Calculation:

  • We can add a fixed height for the top or bottom(for us just top) if there is. And dates, months, years, decades, and centuries should have the same heights for just calculations.

Datepicker version used

v1.9.0

Example code

You can check the issue in here:
https://jsfiddle.net/u5fjw6vo/2/

huseyinturkmenoglu added a commit to huseyinturkmenoglu/bootstrap-datepicker that referenced this issue Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant