Skip to content

fix: popover menu renders at correct position in presentation mode#1725

Draft
caio-pizzol wants to merge 4 commits intomainfrom
caio/sd-1477-popovermentions-menu-renders-off-screen-in-presentation-mode
Draft

fix: popover menu renders at correct position in presentation mode#1725
caio-pizzol wants to merge 4 commits intomainfrom
caio/sd-1477-popovermentions-menu-renders-off-screen-in-presentation-mode

Conversation

@caio-pizzol
Copy link
Contributor

No description provided.

@linear
Copy link

linear bot commented Jan 13, 2026

@caio-pizzol
Copy link
Contributor Author

@harbournick this is still in draft - but do you think this is the "correct" path for fixing Popover Extension? (when @ mentioning someone)

@caio-pizzol caio-pizzol self-assigned this Jan 31, 2026
@caio-pizzol caio-pizzol force-pushed the caio/sd-1477-popovermentions-menu-renders-off-screen-in-presentation-mode branch from 0f081ff to 8998d31 Compare March 1, 2026 11:20
@superdoc-dev superdoc-dev deleted a comment from github-actions bot Mar 1, 2026
Replace getViewportCoordsFromPainterHost with editor.coordsAtPos()
which delegates to PresentationEditor.coordsAtPos() in presentation
mode. This handles all node types, zoom, and scroll via the layout
engine instead of fragile CSS class-based DOM scraping.
Hide tippy when coordsAtPos returns null to prevent stale popover position. Rename inserMention to insertMention across popover-plugin and Mentions.vue.
@caio-pizzol caio-pizzol force-pushed the caio/sd-1477-popovermentions-menu-renders-off-screen-in-presentation-mode branch from 8998d31 to c4bbc37 Compare March 20, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant