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
This is somewhat extension to #12002. If this is about to be added to #12327 then IMHO must be added with good description as this seems to be a quite different thing than all the scenarios given in #12327.
Describe the bug
When user undoes an automatic change (i.e. changing block type into list after writing 1.) within the same block, this block itself looses focus. This does not happen during regular writing, i.e. after non-automated change.
To reproduce
Steps to reproduce the behavior:
Start a new block.
Type 1. and hit Space.
Observe automatic change of block's type from paragraph to numbered list.
hit Ctrl+z or click appropriate button in toolbar to undo this automatic change.
Observe that focus is lost / shifted from active block.
Repeat above steps writing anything that does not trigger an automatic change and observe that you can undo as much operations as you need without loosing focus from current block.
Expected behavior
Undo behavior should be consistent. No undo operation should cause a block to loose focus.
Desktop (please complete the following information):
OS: Windows 7
Browser: Chrome 77
Gutenberg: 6.6.0
The text was updated successfully, but these errors were encountered:
Of course. Just let me know, if I should test unstable nightly or wait for the stable production version?
BTW: Loosing focus on undo is a small thing. Great that you've fixed it, but that could wait. The #16172 is by far more important, because it is open 4+ months and drives million of people crazy.
This is somewhat extension to #12002. If this is about to be added to #12327 then IMHO must be added with good description as this seems to be a quite different thing than all the scenarios given in #12327.
Describe the bug
When user undoes an automatic change (i.e. changing block type into list after writing
1.
) within the same block, this block itself looses focus. This does not happen during regular writing, i.e. after non-automated change.To reproduce
Steps to reproduce the behavior:
1.
and hit Space.Repeat above steps writing anything that does not trigger an automatic change and observe that you can undo as much operations as you need without loosing focus from current block.
Expected behavior
Undo behavior should be consistent. No undo operation should cause a block to loose focus.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: