fix: prevent calendar from jumping on small screen heights #2192
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes # no ticket
What changes did you make?
Why did you make the changes (we will use this info to test)?
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 DocsWhile 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.