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

bug: Datepicker always displays below input field #1350

Open
2 tasks done
brian-bigleaf opened this issue Apr 4, 2024 · 0 comments
Open
2 tasks done

bug: Datepicker always displays below input field #1350

brian-bigleaf opened this issue Apr 4, 2024 · 0 comments

Comments

@brian-bigleaf
Copy link

  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Steps to reproduce

  1. Go to any datepicker example in the docs (i.e. title)
  2. Scroll so that the input field is at the bottom of the viewable content
  3. Open datepicker
  4. Datepicker displays below the field and requires scrolling to view

Current behavior

Unlike the tooltip or popover components, Datepicker does not have a sense of it's location on the page and will always show the datepicker below the input field

Expected behavior

Datepicker should behave like the tooltip and popover components where it will display above the field if there isn't enough space under it to fully display.

Context

Looking to improve a confusing user experience when opening the datepicker at the bottom of a page or container. It may not be obvious to the user that they are required to scroll to select a date. See screenshot below, where the datepicker is past the browser's viewport:

image

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

No branches or pull requests

1 participant