#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:
- Use a vanilla WordPress install with BuddyPress enabled.
- Open an editor that uses TinyMCE (e.g. Messages → Compose).
- Add enough content so the editor area becomes scrollable.
- Hover any toolbar icon (e.g. “Insert/edit image”).
- 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)
Change History (8)
#2
@
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?
#6
@
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. :)
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.