• I have tried to make my own version of the core/list block but been finding it hard to make it work exactly the same way.

    With the core version when you delete the following block the focus moves to it:

    Animated gif of correct function

    With my custom version when I delete the following block the focus just disappears:

    Animated gif of incorrect function

    I have tried copying the source files for core/list into my plugin and just changed the scoped name and still had the same issue.

    I assume it has something to do with the merge method… But I can’t be certain. This has been a tough one. ??Any help would be appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter McShaman

    (@mcshaman)

    So after much exploration I found that it had less to do with the merge function and more to do with the transforms property. I had assumed that the transforms property only had to do with the ‘Change block type’ feature found on some of the blocks however it seems to do much more.

    Once I updated all references to core/list in the transform property It started work as expected.

Viewing 1 replies (of 1 total)
  • The topic ‘Automatic focus custom block when deleting next block not working’ is closed to new replies.