Skip to content

[scheduler] Current time indicator circle bug#21816

Open
rita-codes wants to merge 7 commits intomui:masterfrom
rita-codes:21728-scheduler-current-time-indicator-circle-bug
Open

[scheduler] Current time indicator circle bug#21816
rita-codes wants to merge 7 commits intomui:masterfrom
rita-codes:21728-scheduler-current-time-indicator-circle-bug

Conversation

@rita-codes
Copy link
Member

@rita-codes rita-codes commented Mar 23, 2026

Issue #21728

Fixes the current time indicator circle in EventTimeline being clipped and disappearing on vertical scroll.

The circle was inside EventsSubGridWrapper which has overflowY: clip (required because overflowX: auto forces overflowY: visible to compute as auto per CSS spec, and clip is the only way to prevent double vertical scrolling). This clipped the circle's top: -4 and caused it to scroll away vertically.

The fix moves the circle to the events header cell, where it's outside the clipped container and unaffected by vertical scroll. Horizontal positioning is maintained via a --events-scroll-left CSS variable updated through the existing scroll sync hook.

Before:
https://github.com/user-attachments/assets/5654ccbf-1148-4aab-9fd8-6eb57e4f4e46

Now:
https://github.com/user-attachments/assets/91d6bb09-d35f-4cb6-b3aa-4599736bd7c6

@rita-codes rita-codes self-assigned this Mar 23, 2026
@rita-codes rita-codes added type: bug It doesn't behave as expected. scope: scheduler Changes related to the scheduler. labels Mar 23, 2026
@mui-bot
Copy link

mui-bot commented Mar 23, 2026

Deploy preview: https://deploy-preview-21816--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 7f9a65f

@rita-codes rita-codes requested a review from noraleonte March 23, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: scheduler Changes related to the scheduler. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants