You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the editor is placed in a scrollable element other than the document or body, focusWithoutScrolling behaves incorrectly. We place Wysihtml5 in a scrollable modal, but focusWithoutScrolling uses the underlying <body> element's scroll position, which is incorrect.
I'm not sure the best solution. It seems this may require a recursive DOM traversal saving every element's scroll property, then focusing, then setting each element back to its original value.
The text was updated successfully, but these errors were encountered:
If the editor is placed in a scrollable element other than the document or body, focusWithoutScrolling behaves incorrectly. We place Wysihtml5 in a scrollable modal, but focusWithoutScrolling uses the underlying
<body>
element's scroll position, which is incorrect.I'm not sure the best solution. It seems this may require a recursive DOM traversal saving every element's scroll property, then focusing, then setting each element back to its original value.
The text was updated successfully, but these errors were encountered: