Skip to content

Incorrect TableActionMenu placement when table is at the bottom of a longer page #10626

Closed

Description

@rilrom

Describe the Bug

When a table is placed in a rich text field that is located at the bottom of a longer / scrollable page, the TableActionMenu is misplaced. It seems to be even more prominent when the browser is not the full-width of your monitor or browser dev tools are open.

incorrect-table-action-menu-placement.mp4

Link to the code that reproduces this issue

https://github.com/rilrom/payload/tree/issue/table-action-menu-incorrect-placement/test/_community

Reproduction Steps

  1. Enter in a lot of content to allow the table to be at the bottom of a scrollable page.
  2. Add a table.
  3. Attempt to access the table action menu.
  4. Placement is incorrect, sometimes being completely off-screen.

Which area(s) are affected? (Select all that apply)

plugin: richtext-lexical

Environment Info

Payload: 3.17.1
Next.js: 15.1.4

Activity

  1. added
    status: needs-triage
    validate-reproduction
    on Jan 17, 2025
  2. added and removed
    validate-reproduction
    on Jan 17, 2025
  3. added
    plugin: richtext-lexical
    on Jan 17, 2025
  4. removed
    status: needs-triage
    on Jan 17, 2025
  5. rilrom commented on Jan 17, 2025

    @rilrom
    ContributorAuthor

    I have resolved this in my own internal project, I will create a PR for it.

  6. added a commit that references this issue on Jan 21, 2025
    9684d31
  7. github-actions commented on Jan 22, 2025

    @github-actions
    Contributor

    This issue has been automatically locked.
    Please open a new issue if this issue persists with any additional detail.

  8. locked as resolved and limited conversation to collaborators on Jan 22, 2025
  9. github-actions commented on Jan 23, 2025

    @github-actions
    Contributor

    🚀 This is included in version v3.19.0

  10. unlocked this conversation on Jan 23, 2025
  11. locked and limited conversation to collaborators on Jan 23, 2025
  12. added a commit that references this issue on Feb 21, 2025
    efcbac8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions