Skip to content

Commit 3151fa8

Browse files
authored
Merge pull request #240 from codeitcodes/patch-1
2 parents e7eea97 + 2e38449 commit 3151fa8

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

bottomfloat.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ if (isMobile) {
116116

117117
});
118118

119+
cd.on('focus', () => {
120+
121+
bottomWrapper.classList.add('hidden');
122+
123+
});
124+
119125

120126
// update on screen resize
121127

@@ -168,7 +174,7 @@ function checkBottomFloat() {
168174

169175
}
170176

171-
} else { // if scrolled up
177+
} else if (document.activeElement !== cd) { // if scrolled up
172178

173179
// if passed threshold
174180
if ((lastScrollTop - st) > 20) {
@@ -183,3 +189,4 @@ function checkBottomFloat() {
183189
lastScrollTop = st <= 0 ? 0 : st; // for mobile or negative scrolling
184190

185191
}
192+

git/gitapi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,3 +431,4 @@ let git = {
431431
}
432432

433433
};
434+

worker/client-channel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
// update worker name when updating worker
7-
const WORKER_NAME = 'codeit-worker-v612';
7+
const WORKER_NAME = 'codeit-worker-v613';
88

99

1010
// internal paths

0 commit comments

Comments
 (0)