Commit cd637cb
fix(calendar): also override mtx-grid host overflow for sticky header
The day-of-week header still scrolled with content because mtx-grid (the
host element of .calendar-grid) has overflow: hidden, which establishes
its own scroll-containment context and captures `position: sticky`
resolution before the actual scrolling .week-grid-wrapper. Verified in
the browser by walking the scroll-ancestor chain.
Adding `&` to the existing overflow-override block extends `visible` to
mtx-grid itself, so sticky now resolves all the way out to the wrapper
that the user actually scrolls.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d55fdc2 commit cd637cb
1 file changed
Lines changed: 10 additions & 7 deletions
File tree
- eform-client/src/app/plugins/modules/backend-configuration-pn/modules/calendar/components/calendar-week-grid
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| |||
0 commit comments