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

[full-ci] Fix sidebar calendar position #8909

Merged
merged 3 commits into from
Apr 25, 2023
Merged

Conversation

JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Apr 25, 2023

Description

Implements a popper modifier similar to how we do it in OcDrop to fix the vertical position of the calendar popup. There could still be edge cases, and the top pixels might need some tweaking.

How it basically works: Check if the needed screen space exceeds the window height. If so, move the popup up by quite a bit.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

@JammingBen JammingBen self-assigned this Apr 25, 2023
@JammingBen JammingBen changed the title Fix sidebar calendar position [full-ci] Fix sidebar calendar position Apr 25, 2023
@JammingBen JammingBen force-pushed the fix-sidebar-calendar-position branch from 1f09f6f to 5868364 Compare April 25, 2023 13:37
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

21.4% 21.4% Coverage
0.0% 0.0% Duplication

@JammingBen JammingBen marked this pull request as ready for review April 25, 2023 14:48
@owncloud owncloud deleted a comment from update-docs bot Apr 25, 2023
Copy link
Contributor

@kulmann kulmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

@kulmann kulmann merged commit 31dcb8e into master Apr 25, 2023
@delete-merged-branch delete-merged-branch bot deleted the fix-sidebar-calendar-position branch April 25, 2023 21:44
@kulmann
Copy link
Contributor

kulmann commented Apr 25, 2023

cc @ScharfViktor

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.

Scroller scrolls up automatically while trying to select an expiry date for public link
2 participants