Commit cff58e6
committed
fix(app): prevent question dock from auto-scrolling to focused option
When the question dock opens, focus(0) targets the first option button
which sits below the markdown content. The browser auto-scrolls the
overflow container to make the focused element visible, hiding the plan
text. Use preventScroll: true so focus is set for keyboard navigation
without scrolling away from the top.1 parent 06f198a commit cff58e6
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments