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 you have a really long task list, and you load up the editor, scroll down a long way, and check off an item, the editor jumps back up to the top.
How can we reproduce the bug on our side?
Yes, if you create a long task list here https://tiptap.dev/examples/tasks so the top item is out of view, then focus on the top item, scroll down to the bottom item and check it, the editor will jump back up to the top.
I expect the checkbox to stay in view in case I want to toggle it again and so I don't lose my place.
Anything to add? (optional)
I wondered if removing the focus command in the chain on line 121 here would resolve the issue without having any negative impact? Or instead of just putting focus back on to the editor, could the focus be put on to the text of the task item you have checked.
Did you update your dependencies?
Yes, I’ve updated my dependencies to use the latest version of all packages.
Are you sponsoring us?
Yes, I’m a sponsor. 💖
The text was updated successfully, but these errors were encountered:
What’s the bug you are facing?
If you have a really long task list, and you load up the editor, scroll down a long way, and check off an item, the editor jumps back up to the top.
How can we reproduce the bug on our side?
Yes, if you create a long task list here https://tiptap.dev/examples/tasks so the top item is out of view, then focus on the top item, scroll down to the bottom item and check it, the editor will jump back up to the top.
Can you provide a CodeSandbox?
Can see behaviour here https://tiptap.dev/examples/tasks
What did you expect to happen?
I expect the checkbox to stay in view in case I want to toggle it again and so I don't lose my place.
Anything to add? (optional)
I wondered if removing the focus command in the chain on line 121 here would resolve the issue without having any negative impact? Or instead of just putting focus back on to the editor, could the focus be put on to the text of the task item you have checked.
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: