Skip to content

[RTE]: Incorrect floating toolbar position when in ShadowDOM #3073

@cpoftea

Description

@cpoftea

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Description

Floating toolbars appears near selection, but not when editor is inside ShadowDOM

compressO-export-1774473590267.mp4

Steps to Reproduce

  1. Clone repo locally, install deps and run yarn build-server
  2. Start dev server in ShadowDOM mode by yarn start-sd
  3. Navigate to http://your-dev-server:port/demo?id=RTE&theme=loveship
  4. Select some text
  5. Check floating toolbar position

Actual result

Floating toolbar appears at the top left corner of the ShadowDOM root node

Expected result

Floating toolbar appears near selected range

Environment

  • UUI version: 6.4.3
  • Browser name: Microsoft Edge 146.0.3856.72
  • Operating System: macOS Tahoe 26.3.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions