Commit acdf831
authored
Allow ExtendedPopover z-index override to render above modals (#771)
* feat(ExtendedPopover): add zIndex prop for customizable layering
Add a zIndex prop to allow users to specify the layering order
of the popover. Default to theme.zindex.sticky for backward
compatibility. Adjust style handling to incorporate zIndex and
prevent blinking effect by ensuring popover is rendered outside
viewport when style is empty.
* chore(package.json): bump version from 11.2.6 to 11.2.7 to prepare for new release
* feat(ExtendedPopover.tsx): add scrollTarget and closeOnScroll props
Introduce `scrollTarget` prop to specify a custom scroll container,
defaulting to window, enhancing flexibility for modals with internal
scroll. Add `closeOnScroll` prop to control scroll event handling,
defaulting to true to maintain existing behavior.1 parent fe8ae47 commit acdf831
3 files changed
Lines changed: 44 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
29 | 39 | | |
30 | 40 | | |
31 | 41 | | |
| |||
42 | 52 | | |
43 | 53 | | |
44 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
45 | 58 | | |
46 | 59 | | |
47 | 60 | | |
| |||
96 | 109 | | |
97 | 110 | | |
98 | 111 | | |
99 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
100 | 117 | | |
101 | 118 | | |
102 | 119 | | |
| |||
117 | 134 | | |
118 | 135 | | |
119 | 136 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
128 | 148 | | |
129 | 149 | | |
130 | 150 | | |
| |||
136 | 156 | | |
137 | 157 | | |
138 | 158 | | |
| 159 | + | |
139 | 160 | | |
140 | 161 | | |
141 | 162 | | |
| |||
145 | 166 | | |
146 | 167 | | |
147 | 168 | | |
148 | | - | |
| 169 | + | |
149 | 170 | | |
150 | 171 | | |
| 172 | + | |
151 | 173 | | |
152 | 174 | | |
153 | 175 | | |
| |||
157 | 179 | | |
158 | 180 | | |
159 | 181 | | |
| 182 | + | |
160 | 183 | | |
161 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
162 | 190 | | |
163 | 191 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 192 | + | |
168 | 193 | | |
169 | 194 | | |
170 | 195 | | |
| |||
178 | 203 | | |
179 | 204 | | |
180 | 205 | | |
181 | | - | |
| 206 | + | |
182 | 207 | | |
183 | | - | |
| 208 | + | |
184 | 209 | | |
185 | 210 | | |
186 | 211 | | |
0 commit comments