Point annotations cannot be viewed if Draw annotations are added after the point.
- Dominant language
- JavaScript
- Stars
- 120
- Forks
- 137
- Avg merge
- 12h 36m
- Merged PRs (30d)
- 17
Description
Environment:
Preview version: tested with 2.14.1 ( same issue happens for lower versions, looks like it starts since v2.0.2 with: Downgrade annotations to 2.3.0)
Browser: Safari
Operating system and version: IOS 12.3.1
Steps to reproduce the problem:
Preview any document
Add point annotations
After saving annotation, click on it to make sure we can view the posted annotation
Add a draw annotation and save the annotation.
Click on the added point annotation to view it.
Expected:the point annotation comment opens and we can view the comment and reply to it etc.
Actual:Clicking on the message icon, does not open the annotation.
Exiting the previewer and reopening it solves the issue.
This seems to only happen when we do a draw annotation in the document after adding point annotations. If we do draw annotation first followed by point annotations, then we dont see this issue.
Contributor guide
Research direction
Start by reproducing the reported sequence in the previewer on Safari for iOS: add and save a point annotation, then add and save a draw annotation, and select the point again. Trace the point-annotation interaction after the draw annotation is created; done means the point comment opens without leaving and reopening the previewer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100