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 ffdeeda commit 7772d09Copy full SHA for 7772d09
filebrowser.js
@@ -3010,8 +3010,11 @@ function onEditorScroll() {
3010
3011
}
3012
3013
+
3014
function updateScrollbarArrow() {
3015
3016
+ console.log('[Scrollbar arrows] Updated');
3017
3018
// if codeit is horizontally scrollable
3019
if (cd.scrollWidth > cd.clientWidth) {
3020
@@ -3027,6 +3030,10 @@ function updateScrollbarArrow() {
3027
3030
3028
3031
3029
3032
3033
+// when codeit resizes, update
3034
+new ResizeObserver(updateScrollbarArrow).observe(cd);
3035
3036
3037
// check for meta key (Ctrl/Command)
3038
function isKeyEventMeta(event) {
3039
return event.metaKey || event.ctrlKey;
0 commit comments