Commit a7b016b
authored
fix(files): make the rich-markdown-field container a positioning context (#6435)
rich-markdown-field also mounts EditorBubbleMenu with its own container ref, so
the same 'relative' the editor container needs applies here — otherwise the
absolutely-positioned toolbar resolves against the wrong offset parent and scroll
tracking breaks in the field. Safe in both modes: 'relative' adds no offset and no
clipping to the uncapped (page-scrolls) box.1 parent 33fe043 commit a7b016b
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
- apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
| |||
0 commit comments