Automattic / Automattic/simplenote-electron

Search Function Does Not Open Note At Correct Location

Open
#3,321 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
5.3k
Forks
588
Avg merge
9h 45m
Merged PRs (30d)
4

Description

### Expected

When clicking on a search result, I expect the note to open _at the location_ of the found search term (I.e., such that the highlighted search term is visible within the note). The search function works as expected on my iphone (Simplenote v4.55 on iphone Xr iOS 18.3) and worked as expected on my version of simplenote for macOS (Simplenote v2.21 on 2018 macbook pro running Sequoia 15.2).

### Observed
Clicking on a search result opens the note containing the search term but the vertical scroll position is at the top of the note.

### Reproduced

This is consistently reproducible with my setup:

1. Open Simplenote
2. Click on search bar, input search term, and click enter
3. Click on search result
4. Outcome: Note corresponding to the search result will open with the vertical scroll bar position at the top of the note

### Where did you see the bug

- System Make: Mac
- System Model: A1989 (Macbook Pro 13-inch, 2018)
- OS: Sequoia
- OS version: 15.2
- Browser (if applicable):
- Browser version (if applicable):
- Simplenote app version: 2.23.3

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in Simplenote 2.23.3 on macOS using the listed four-step sequence. Trace the search-result selection and note-opening flow, then verify that the note opens with the matched term visible at the expected scroll position.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.