hypothesis / hypothesis/client

Annotate and Highlight buttons do not appear at https://replayweb.page due to Shadow DOM

Open
#2,952 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Mustache
Stars
730
Forks
224
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce
1. Navigate to https://replayweb.page.
2. Activate Hypothesis Chrome Extension.
3. Select any text in the viewport.

![image](https://user-images.githubusercontent.com/51493606/106671501-a0058b00-657c-11eb-962e-d414d75692ba.png)

### Expected behaviour
I expect that the Hypothesis Annotate and Highlight buttons should appear above or below the selected text.

![image](https://user-images.githubusercontent.com/51493606/106671924-376ade00-657d-11eb-8b84-53356092ef3b.png)

### Actual behaviour
No Annotate or Highlight buttons appear.

### Browser/system information
Google Chrome Version 88.0.4324.96 (Official Build) (x86_64)

### Additional details
I suspect that the Hypothesis client might not handle selections within shadow root nodes as desired.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.