We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7eea97 commit 81108b7Copy full SHA for 81108b7
1 file changed
bottomfloat.js
@@ -116,6 +116,12 @@ if (isMobile) {
116
117
});
118
119
+ cd.on('focus', () => {
120
+
121
+ bottomWrapper.classList.add('hidden');
122
123
+ });
124
125
126
// update on screen resize
127
@@ -168,7 +174,7 @@ function checkBottomFloat() {
168
174
169
175
}
170
176
171
- } else { // if scrolled up
177
+ } else if (document.activeElement !== cd) { // if scrolled up
172
178
173
179
// if passed threshold
180
if ((lastScrollTop - st) > 20) {
0 commit comments