aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/main.test.ts
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-16 19:17:59 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-16 19:17:59 -0800
commitb500776f035779f9b9ee23ab889afa93ca987212 (patch)
tree43b7edc592a4742969c5972c506fbc0f3feff438 /frontend-vanilla/src/main.test.ts
parente8a4f637dfa10510b350b95efaa4b5eb9a8f6f28 (diff)
downloadneko-b500776f035779f9b9ee23ab889afa93ca987212.tar.gz
neko-b500776f035779f9b9ee23ab889afa93ca987212.tar.bz2
neko-b500776f035779f9b9ee23ab889afa93ca987212.zip
Update V2/V3 'mark as read' logic to require item bottom to be above viewport, while keeping V1 unchanged
Diffstat (limited to 'frontend-vanilla/src/main.test.ts')
-rw-r--r--frontend-vanilla/src/main.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend-vanilla/src/main.test.ts b/frontend-vanilla/src/main.test.ts
index da2c41c..eb9e615 100644
--- a/frontend-vanilla/src/main.test.ts
+++ b/frontend-vanilla/src/main.test.ts
@@ -287,7 +287,7 @@ describe('main application logic', () => {
if (itemEl) {
itemEl.getBoundingClientRect = vi.fn(() => ({
- top: -50, bottom: 50, height: 100, left: 0, right: 0, width: 0, x: 0, y: 0, toJSON: () => { }
+ top: -150, bottom: -50, height: 100, left: 0, right: 0, width: 0, x: 0, y: 0, toJSON: () => { }
}));
}