Open loiswells97 opened 3 months ago
When the theme changes, codemirror re-renders and scrolls to the top. One approach could be to capture the scroll position before codemirror re-renders and then programmatically scroll back there once the theme has changed.
codemirror
When the theme changes,
codemirror
re-renders and scrolls to the top. One approach could be to capture the scroll position beforecodemirror
re-renders and then programmatically scroll back there once the theme has changed.