Skip to content

Clicking on Check boxes and footnotes take you back to the very top of the note #3163

@themattgabriel

Description

@themattgabriel

Current behavior

Checkbox

  • While in preview mode, checking/unchecking items takes you back to the beginning of the note

Boostnote 2019-07-25 15-39-49

Console Output

Annotation 2019-07-25 155246

Footnote

  • While in preview mode, clicking on a footnote's "return to context" takes you back to the beginning of the note

Boostnote 2019-07-25 15-56-03

Console Output

none

Expected behavior

  • When checking/unchecking items in a checkbox, the note should stay in place and only the movement of the progress bar is expected.
  • After viewing a footnote, clicking on "return" should take you back to the context rather than to the beginning of the note.

Steps to reproduce

Checkboxes

  1. Open a note.

  2. Add some long place holder text to add some volume to the note.

  3. Do:

    - [ ] Item 1
    - [ ] Item 2
  4. Toggle preview mode.

  5. Check/uncheck items.

Footnotes

  1. Open a note.

  2. Add some long place holder text to add some volume to the note.

  3. Do:

    Here's a simple footnote [^1], and and longer one [^note].
    [^1]: simple footnote
    [^note]: complex footnote with multiple paragraphs.
    Indent paragraphs to include them in the footnote.
    
    ```shell
    echo "Hello, World!"
  4. Toggle preview mode.

  5. Click on the footnote [1] link.

  6. After viewing the footnote, click on ↩︎.

Environment

  • Boostnote: 0.12.0
  • OS: Windows 10
  • Build: 1903

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issue concerns a bug.level 1 ❕A bug that caused minor damage: App is still usable, but minor features might not work.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions