Quick preview for text files repeats content infinitely
AcrylicShrimp opened this issue · comments
AcrylicShrimp commented
Describe the bug
When selecting a text file and press space
to show quick preview for it, the preview repeats content forever.
Consider the file on the preview:
Actually, the file only has 60 lines of code.
Reproduction
- Select any (preview-able) text file on the app.
- Press
space
to call preview window. - Scroll down a bit.
- It now repeats the content.
Expected behavior
When it reaches the end of file, it shouldn't allow the window to scroll down.
Platform and versions
OS: macOS 14.4(23E214)
App: Version 0.2.6 (20240323.050027)
I'm not attaching versions of "pnpm", "cargo" and/or "rustc" because I downloaded the app from the release page, not building from source.
Stack trace
N/A
Additional context
N/A