Commit 83fd43e
adding option to disable scrolling when opening inset view
Summary:
**Context**
I notice that sometimes when the inset is on the edge of the screen + when line calculation is wonky and not 100%, opening an inset would scroll the user.
I will look at the line adjustment logic again but I think when toggling the inset open in editor, we shouldnt scroll the user.
Reviewed By: evangrayk
Differential Revision: D74273975
fbshipit-source-id: 466fb3e3254514cd60efb16086ecad2b7b353b541 parent 7b681e9 commit 83fd43e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
0 commit comments