Skip to:
Content

BuddyPress.org

Opened 11 months ago

Closed 3 days ago

Last modified 3 days ago

#9318 closed defect (bug) (invalid)

TinyMCE toolbar tooltips are mispositioned in scrollable editors

Reported by: manhphucofficial Owned by:
Priority: normal Milestone:
Component: Core Version:
Severity: normal Keywords: has-screenshots reporter-feedback dev-reviewed good-first-bug has-test-info
Cc:

Description

When hovering toolbar icons such as “Insert/edit image” in the editor,
the tooltip appears far below the toolbar instead of being positioned
near the hovered button.

This issue is reproducible when the editor content or container is scrollable
(e.g. within an iframe or a constrained editor area). It appears that the
tooltip positioning logic does not account for the iframe document scroll
offset, causing the tooltip to be rendered far from the trigger element.

Steps to reproduce:

  1. Use a vanilla WordPress install with BuddyPress enabled.
  2. Open an editor that uses TinyMCE (e.g. Messages → Compose).
  3. Add enough content so the editor area becomes scrollable.
  4. Hover any toolbar icon (e.g. “Insert/edit image”).
  5. Observe that the tooltip is displayed far below the toolbar instead of next to the hovered icon.

Expected result:
The tooltip should appear adjacent to the toolbar button being hovered,
regardless of the editor scroll position.

Actual result:
The tooltip is rendered far below the toolbar when the editor is scrolled.

This seems related to positioning logic not accounting for iframe or
scroll container offsets.

Attachments (2)

tinymce-tooltip-position-offset.png​ (62.2 KB ) - added by manhphucofficial 11 months ago.
Screenshot showing TinyMCE toolbar tooltip rendered far below the hovered button.
screenshot_ticket_9318-07-13-2026_09_06_AM.png​ (36.9 KB ) - added by emaralive 4 months ago.
Screenshot - unable to reproduce

Download all attachments as: .zip

Change History (8)

#1 @manhphucofficial
11 months ago

This feels similar in nature to positioning issues caused by iframe
scroll offsets, but I wanted to report it separately as it affects
TinyMCE toolbar tooltips rather than mentions autosuggest.

@manhphucofficial
11 months ago

Screenshot showing TinyMCE toolbar tooltip rendered far below the hovered button.

#2 @emaralive
4 months ago

  • Keywords has-screenshots reporter-feedback added

@manhphucofficial,

I'm not able to reproduce what you have described and shown in your screenshot. I've attached a screenshot showing what I see.

Checked with:

  • WP 7.1-alpha-62566 + BP 14.5.0 (Twenty Eleven theme)
  • WP 6.6.5 + BP 11.6.0 (Twenty Eleven theme)

Do you additional information that will help to reproduce this anomaly?

#3 @espellcaste
6 weeks ago

  • Milestone Awaiting Review → 14.5.3

#4 @espellcaste
3 weeks ago

  • Milestone 14.5.3 → 14.5.4

Milestone renamed

#5 @espellcaste
3 weeks ago

  • Milestone 14.5.4 → 14.5.5

Milestone renamed

#6 @espellcaste
3 days ago

  • Keywords dev-reviewed good-first-bug has-test-info added
  • Milestone 14.5.5
  • Resolution → invalid
  • Status new → closed

@manhphucofficial I'm also unable to replicate this bug.

Could you share a few details to help us reproduce this?

  • Browser name and version, and operating system.
  • WordPress and BuddyPress versions.
  • Active theme and BuddyPress template pack: Nouveau or Legacy.
  • Whether any plugins or custom code affect the editor or page layout.
  • The exact page and steps, including which area you scroll: the editor, the page, or both
  • Whether it also happens in a private browser window with extensions

A short screen recording showing the scrolling and tooltip position would also help.

I'll close this ticket as invalid, but feel free to provide some info/steps, and I'm happy to look it over again. :)

Last edited 3 days ago by espellcaste (previous) (diff)
Note: See TracTickets for help on using tickets.