hypothesis / hypothesis/product-backlog
Annotation card not staying inline with selection
- Dominant language
- No language data
- Stars
- 122
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
## Bug report form
### Steps to reproduce
1. I'm annotating on this article: https://www.justinobeirne.com/google-maps-moat
2. I can highlight text and make the annotation, but when I post it to "only me" the page scrolls back up to the top.
3. When I click on the card, it does not take me back to the selection.
### Expected behaviour
Tell us what should happen.
Annotation card should stay next to the selected text.
When I click on the card, it should take me to the text.
### Actual behaviour
Tell us what happens instead.
Page scrolls back to top.
### Browser/system information
Tell us which browser, browser version, and operating system you were using when
you encountered this issue.
Firefox Quantum 57.0.1 (64-bit)
### Additional details
I feel like I've seen this before, but with scrolling to the bottom instead of the top.
## Feature Request Form
### Problem you are trying to address with this feature
### Your solution
### Add tags - did you add labels?
If this a customer requested feature, make sure to add that label.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue on the linked article in Firefox using a private annotation, then inspect the annotation card and selection-scrolling behavior in the frontend. Done means the card remains beside the selected text after posting and clicking the card returns to that text without jumping to the top.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100