Skip to content

StaticRange.getBoundingClientRect() #352

Description

@fregante

I just found out about getComposedRange and how it solves an issue around retrieving text selected across shadow DOM elements.

However it seems that getBoundingClientRect is not present on this new class, while it existed on Range

Is there any way to get the rect of a selection inside a shadow root?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions