Skip to content

Selection menus show the outside of the block note view #1713

Closed

Description

@Ankitachavan-lbmc

When I write a value on the blocknote view card and set the spacific height, the middle content becomes scrollable, as do the suggestion menus. When I scroll the content menus, the outside of the box selection menus are displayed. When scrolling the data menus, I want the icon to not be displayed outside of the box.
Can you please give me suggestion for my issue

Image

Activity

  1. changed the title [-]Feedback for “Introduction to BlockNote”[/-] [+]Selection menus show the outside of the block note view[/+] on May 23, 2025
  2. Amaan-Uddin commented on May 28, 2025

    @Amaan-Uddin

    Apparently we have to adjust the z-index to resolve this issue,

    • Set container (editor box) z-index to a negative value to contain content properly.
    • Assigned z-index for Blocks and selection menus to ensure they appear within container bounds without overflow.
  3. Ankitachavan-lbmc commented on May 29, 2025

    @Ankitachavan-lbmc
    Author

    Thanks, I have added z-index tried to fix it but it's not working

  4. Ankitachavan-lbmc commented on May 30, 2025

    @Ankitachavan-lbmc
    Author

    Team, can please give me updates

  5. matthewlipski commented on Oct 1, 2025

    @matthewlipski
    Collaborator

    Setting the following CSS should fix it:

    .bn-container {
      position: relative;
      overflow: hidden;
    }

    You can set the overflow on a different parent element if you'd like, .bn-container is just the root element of the editor. #2043 fixes this issue on the website.

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