Describe the bug
With "Auto wrap long lines" disabled, code blocks with unwrapped lines intercept all scroll events, even though they don't have to scroll vertically.
This can make for a choppy experience with long files, as each "wide" code block will interrupt scrolling.
Expected behavior
Should be able to scroll vertically through a long document with multiple "wide" code blocks without having to adjust the cursor position.
[x] Searched existing issues to avoid creating duplicates.
[x] Confirmed that it can be reproduced in built-in themes without customized css.
[x] Searched http://support.typora.io/
Describe the bug With "Auto wrap long lines" disabled, code blocks with unwrapped lines intercept all scroll events, even though they don't have to scroll vertically. This can make for a choppy experience with long files, as each "wide" code block will interrupt scrolling.
To Reproduce
test.md
fileExpected behavior Should be able to scroll vertically through a long document with multiple "wide" code blocks without having to adjust the cursor position.
Screenshots / Screencasts
https://user-images.githubusercontent.com/31547038/120853130-7b95db80-c57b-11eb-8889-c1b49135e4ac.mp4
Desktop (please complete the following information):
Typora Version e.g: 0.10.10