Skip to content

Bug: In the middle of page, Layout shift while using textahead menu #3815

Closed

Description

@blacktoast

When the page is longer than the viewport, the layout shift occurs when you open the textahead menu in the middle of the document and press the downwards arrow or upwards arrow

Is this the same error as #3716 ?

Lexical version:

Steps To Reproduce

  1. Go to https://playground.lexical.dev/
  2. Copy and paste content so that content is more than one page long
  3. scroll down to the middle part of the document page
  4. write :
  5. try pressing the downwards arrow or upwards arrow

Link to code example:

The current behavior

when pressing the downwards arrow or upwards arrow, occur layout shift
Kapture 2023-02-03 at 22 35 35

The expected behavior

Is this the correct function?
I don't think it's the right function.

if It is a bug and I want to fix this bug, Should I have the textahead menu come to the center of the viewport?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions