We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 972e3f6 commit 70b7f15Copy full SHA for 70b7f15
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -137,12 +137,15 @@ function RemoteFunctions(config = {}) {
137
138
// Start scrolling if needed
139
if (scrollDirection !== 0) {
140
+ if (!_isAutoScrolling) {
141
+ _clearDropMarkers();
142
+ }
143
_isAutoScrolling = true;
144
_autoScrollTimer = setInterval(() => {
145
window.scrollBy(0, scrollDirection);
146
}, 16); // 16 is ~60fps
147
} else {
- _isAutoScrolling = false;
148
+ _stopAutoScroll();
149
}
150
151
0 commit comments