Weird chrome 75 bug with scroll and focus

#1

Hi, Using prosemirror-view 1.8.4 or 1.9.0, i updated to chrome 75.0.3770.18 this morning and now the editor keeps scrolling the window back to where the focus is, as if node.scrollIntoView() was called every second. Does not happen in chrome 74. I’m still trying to figure if this is a bug in my code or not. I tried tracing calls to:

  • window.scrollTo
  • Element.prototype.scrollIntoView but i had no success (whatever is moving the window scroll is not calling that). Any idea of to debug that ?
#2

I’m trying to reproduce it on glitch. Maybe the bug is related to the fact i’m making the body editable.

#3

At the moment the window scrolls back to the last focused node only if i scroll using mousewheel, not when i scroll using scrollbar.

#4

Chrome regressions around editable content would be nothing new. Let me know if you have a clearer view of what’s happening—and definitely report the browser bug when you have a way to reproduce it without ProseMirror.