arn
Well-known member
I can't reproduce this behavior here. But I also am having a lot of trouble isolating it on our side.
When I type into the editor in BBCode mode, then the window scrolls with each letter pressed.
On my development server, I've disabled all extra javascript addons and reverted to the default theme, but it still happens to me. On macOS Big Sur, Safari 11.
View attachment Screen Recording 2020-11-30 at 10.59.48 PM.mp4
It comes down to this code in vendor-compiled.js
I'm not sure what on my system is causing this issue. I was hoping it would be semi-obvious to XF devs.
arn
When I type into the editor in BBCode mode, then the window scrolls with each letter pressed.
On my development server, I've disabled all extra javascript addons and reverted to the default theme, but it still happens to me. On macOS Big Sur, Safari 11.
- Only on Safari
- So far only on forums.macrumors.com (doesn't happen here)
View attachment Screen Recording 2020-11-30 at 10.59.48 PM.mp4
It comes down to this code in vendor-compiled.js
Code:
function u() {
if (0 !== r.scrollHeight) {
var e = function(e) {
for (var t = []; e && e.parentNode && e.parentNode instanceof Element;)
e.parentNode.scrollTop && t.push({
node: e.parentNode,
scrollTop: e.parentNode.scrollTop
}),
e = e.parentNode;
return t
}(r),
t = document.documentElement && document.documentElement.scrollTop;
r.style.height = "",
r.style.height = r.scrollHeight + n + "px",
o = r.clientWidth,
e.forEach(function(e) {
e.node.scrollTop = e.scrollTop
}),
t && (document.documentElement.scrollTop = t)
}
}
I'm not sure what on my system is causing this issue. I was hoping it would be semi-obvious to XF devs.
arn