Skip to content

Commit bba2a55

Browse files
committed
Adjusted intersection observer thresholds
Even with the changes in 5fa9215, too long messages never actually fired.
1 parent 195b8a9 commit bba2a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/javascript/controllers/read_status_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class extends Controller {
3333
this.clearTimer()
3434
}
3535
})
36-
}, { threshold: [0.1, 0.25, 0.5, 0.7, 0.9] })
36+
}, { threshold: [0, 0.25, 0.7] })
3737

3838
this.observer.observe(this.element)
3939
}

0 commit comments

Comments
 (0)