Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Inserter - cursor not following along focus when inserting a new block #113

Closed

Description

@mzorz

Coming from #105 (review)

If I'm editing a text block and I add another, the "focus" switches to the newly inserted block, but the cursor stays in the previous block. I'm not sure if we're worrying about that at this point, but leaving a note here.

ToDo:

EDIT:
ToDo:

Recreating the ToDo list here after migration to FlatList

Activity

  1. changed the title [-]Inserter - focus not following along when inserting a new block[/-] [+]Inserter - cursor not following along focus when inserting a new block[/+] on Aug 14, 2018
  2. self-assigned this
    on Nov 14, 2018
  3. daniloercoli commented on Nov 22, 2018

    @daniloercoli
    Contributor

    Hey @mzorz - I see this issue marked as closed, but testing master, when I try to insert a new block via the + button on the inserter, or tapping enter at the end of a block, it does insert the new block after, but both the cursor and the focus stay in the current block.

    Should we re-open this, or is it tracked somewhere in the Inserter master thread?

  4. mzorz commented on Nov 22, 2018

    @mzorz
    ContributorAuthor

    Thanks for the heads up @daniloercoli - tested and verified this is the case. Reopening 😞

  5. reopened this on Nov 22, 2018
  6. mzorz commented on Nov 22, 2018

    @mzorz
    ContributorAuthor

    Confirming it works on InputText-based blocks with FlatList (Gutenberg's PlainText primitive)

  7. added a commit that references this issue on Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Type] BugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions