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: Ensure calendar items scroll correctly and borders remain visible #833

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

ivelinmegdanov
Copy link
Contributor

This PR fixes an issue where calendar list items were partially hidden when scrolled into view. The issue was caused by how some browsers handles scrollIntoView({ block: 'start' }), which sometimes ignores borders and padding.

Replaced border with a pseudo-element (::before) to keep the border visible

Closes Issue #372

@ivelinmegdanov ivelinmegdanov added the bug Something isn't working label Feb 13, 2025
@ivelinmegdanov ivelinmegdanov added this to the v5.0.0-beta.19 milestone Feb 13, 2025
@ivelinmegdanov ivelinmegdanov self-assigned this Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant