Skip to content

Notes: Buttons to cancel and submit a new note can be positioned off screen #73653

Closed

Description

@westonruter

Description

I was just adding some feedback to a blog post on Make/Core and I found that when I tried to add a Note to a block near the end of the content, the buttons to cancel and submit the note appeared off screen:

Image

Also, when I select the last block in the post content, and I try to add a Note, I found that the Note box in the sidebar can be positioned entirely out of the viewport even though the cursor has been added to the Note's text box. I can't scroll when I move the scrollbars in the Notes sidebar. I have to try scrolling down further in the main content area to reveal the new Note in the sidebar.

I'm testing this on an Android tablet.

Step-by-step reproduction instructions

  1. Add several paragraph blocks to fill the entire screen.
  2. Try adding a note to the last block.
  3. Depending on the scroll position of the content area, the Note box may not be visible.

Screenshots, screen recording, code snippet

No response

Environment info

  • 6.9-RC3
  • Chrome for Android on Pixel Tablet

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

  1. added
    [Type] Bug
    on Nov 29, 2025
  2. added
    [Feature] Notes
    on Nov 29, 2025
  3. added theissue type on Nov 29, 2025
  4. t-hamano commented on Nov 29, 2025

    @t-hamano
    Contributor

    I was just adding some feedback to a blog post on Make/Core and I found that when I tried to add a Note to a block near the end of the content, the buttons to cancel and submit the note appeared off screen:

    @westonruter Can you confirm whether these issues are reproducible in WordPress 6.9 RC3? This is because the Gutenberg enabled on the mace core blog is slightly older than the Gutenberg released in 6.9 RC3.

  5. added
    Needs Testing
    on Nov 29, 2025
  6. westonruter commented on Nov 29, 2025

    @westonruter
    MemberAuthor

    @t-hamano got it. I just tested with 6.9-RC3, and it does seem to be improved:

    Screen.Recording.2025-11-28.at.17.41.52.mov

    Nevertheless, there are still scenarios where the button can be inaccessible. You can see in this screencast that I'm trying in vain to scroll down to access the button to submit the note, but I'm unable to:

    Screen.Recording.2025-11-28.at.17.45.36.mov

    The problem seems to be that the scroll container for the content is different from the scroll container for the notes sidebar. Maybe this is a known issue.

  7. t-hamano commented on Nov 29, 2025

    @t-hamano
    Contributor

    The problem seems to be that the scroll container for the content is different from the scroll container for the notes sidebar.

    Yes, I think this is the underlying problem and should be fixed.

  8. t-hamano commented on Nov 29, 2025

    @t-hamano
    Contributor

    I've vibe-coded to communicate the sidebar scroll to the editor canvas. See #73655

  9. Mamaduka commented on Dec 1, 2025

    @Mamaduka
    Member

    I think Adam worked on something similar in the past. I wonder if the action button is accounted for when calculating/getting the height of the new notes form.

  10. removed
    Needs Testing
    on Dec 9, 2025
  11. SirLouen commented on Dec 9, 2025

    @SirLouen
    Member

    I can still reproduce the problem that @westonruter comments

    Environment

    • WordPress: 7.0-alpha-61215-src
    • PHP: 8.2.29
    • Server: nginx/1.29.3
    • Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
    • Browser: Chrome 142.0.0.0
    • OS: Windows 10/11
    • Theme: Twenty Twenty-Five 1.4
    • MU Plugins: None activated
    • Plugins:
      • Gutenberg 22.2.0
      • Test Reports 1.2.1
    Image

    The question is, what are we expecting? Because other references like Google Docs work the same

    Image
  12. added
    [Status] In discussion
    on Dec 9, 2025
  13. Mamaduka commented on Apr 16, 2026

    @Mamaduka
    Member

    Does some refactoring for posisiton calucaltions, here's the last piece which I think might resolve the issue - #77433.

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

    [Feature] Notes[Status] In discussion[Type] Bug

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions