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

fix: prevent calendar from jumping on small screen heights #2192

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Tony-Villa
Copy link
Member

Fixes # no ticket

What changes did you make?

  • Prevent calendar from jumping to top of input on screen resize or smaller screens

Why did you make the changes (we will use this info to test)?

  • bug fix

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

Visuals before changes are applied
before.mov
Visuals after changes are applied
after.mov

For Devs

This issue (in theory) was a quick fix. But I had to go one level deeper to find the popover library that react-datepicker was using in order to find how to stop that behavior in it's docs: Floating UI Docs

While solving this issue I found another that should be a different ticket (if it's something we want to try to fix, it may be a bigger lift): If the screen height is less than the height popover for any item in the project column header the popover will auto close as soon as it's opened.

@Tony-Villa Tony-Villa requested a review from entrotech March 11, 2025 02:14
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 this pull request may close these issues.

1 participant