Skip to content

Focus loss after converting page list to blocks via child editing #49032

@draganescu

Description

@draganescu

In #48723 the page list improved its UX and it unlocks the tree of pages in the block list view - if the page list is a child of a navigation block. In this case a user can interact with page list item blocks and drag or select them. This interaction results in being prompted to convert the page list block to a list of unsynced navigation link blocks - preserving the tree structure.

This conversion results in focus loss.

This is surprising because if one inserts a page list on its own and uses the toolbar edit button to achieve the same result, there is no focus loss. So, the same code called in different places causes different results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions