Skip to content

BUG: Highlight did not stick to paragraph when scrolling #263

@carsonjan

Description

@carsonjan

Version (please complete the following information):

  • OS: [e.g. Windows]: Windows 10
  • Browser [e.g. Chrome, Firefox]: both Chrome and Opera GX
  • Web Clipper version: [e.g. 0.9.5]: 0.10.5
  • Obsidian version: [e.g. 1.7.5] 1.7.7

Describe the bug

When I highlight a paragraph and scroll down the page, the highlight did stick to the original paragraph.

before scrolling down
image

after scrolling down
image

Expected behavior

What did you expect to happen?
The highlight should move upwards with the paragraph, and disappear when it is out of the screen,
and appear at its original when I scroll back up.

URLs where the bug occurs
https://help.obsidian.md/Editing+and+formatting/Basic+formatting+syntax

Any specific web pages where the bug can be replicated.

To reproduce

Steps to reproduce the behavior:

  1. Go to the web page
  2. Toggle on highlighter
  3. Highlight a paragraph
  4. **Toggle off highlighter (Always show highlights is enabled) **
  5. Scroll down and up

Your template file

If you are using a custom template (i.e. not the Default template). Go to Web Clipper settings and click MoreCopy as JSON. Paste the JSON code below.

(paste here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions