Folo
Folo copied to clipboard
TOC items scoll styles are incorrect
Describe the bug
You can see titleBetweenPositionTopRangeMaphere.
https://github.com/RSSNEXT/Follow/blob/f7a591c37f8e0def57efa3da9713af9dc773de53/apps/desktop/src/renderer/src/components/ui/markdown/components/hooks.tsx#L85
This is its first render.
But when I scroll down it's updated.
It makes the last toc item can't be actived after this updating.
Feed Info
https://app.follow.is/__debug_proxy#/timeline/view-0/all/119908850101384192
Reproduction Video
https://github.com/user-attachments/assets/deda86fe-1008-40ff-9de9-d55bfd31ea81
Environment
No response
Validations
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [x] This issue is valid
Contributions
- [ ] I am willing to submit a PR to fix this issue
- [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)