Commit 4f1d172
committed
fix(api): no restore_position on mention/slash
Restoring position was moving the cursor to the start of the input box
(the initial last saved position before we started insert mode) when
adding a mention rather than leaving the cursor where it is (i.e. where
the user is typing)
Since we're almost certainly already in insert mode, we don't want to
restore position when adding a mention / slash_command.1 parent 6f424e0 commit 4f1d172
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
299 | | - | |
| 300 | + | |
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
| |||
0 commit comments