Commit 6f7040e
committed
fix(docs): resolve iOS Safari discovery popover stacking issue
Add #discovery-layer div at start of body for discovery component teleport
target. Move DiscoveryHighlight and DiscoveryContent teleports to this layer.
Revert DocsSearch to inline rendering (matches Settings/Ask AI pattern).
iOS Safari renders fixed elements in DOM order even when z-index should take
precedence. By placing discovery layer first in DOM, components render on top.1 parent e38b4e4 commit 6f7040e
File tree
4 files changed
+377
-378
lines changed- apps/docs
- src/components
- discovery
- docs
4 files changed
+377
-378
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
0 commit comments