Commit 00a5d77
authored
fix: exclude active indicator items from content-visibility containment
content-visibility: auto applies paint containment which clips the
activeIndicatorLine ::after pseudo-element positioned outside the li bounds.
Exclude items with :focus, [data-is-active-descendant], [data-active], and
[data-input-focused] from content-visibility: auto so the indicator remains
visible.1 parent fd025fa commit 00a5d77
File tree
2 files changed
+8
-4
lines changed- packages/react/src
- FilteredActionList
- experimental/SelectPanel2
2 files changed
+8
-4
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
0 commit comments