Not providing viewOptions to the Editor component seems to break setScrRef. See this CodeSandbox to see what I mean. I just removed viewOptions and did nothing else. Now, clicking around to different verses in the editor does not update the reference at the top.
Not providing
viewOptions
to theEditor
component seems to breaksetScrRef
. See this CodeSandbox to see what I mean. I just removedviewOptions
and did nothing else. Now, clicking around to different verses in the editor does not update the reference at the top.