Closed AnirudhG07 closed 1 month ago
Are you referring to the preview scroll being reset when the terminal size changes? If so, that's by design to simplify the design, assuming users won't frequently change their terminal window size during the preview.
Nono. I mean that when the height is bigger, u r able to scroll down the preview. But when height is small, u r not able to scroll down the preview. I am not talking about preview being reset.
I can't reproduce it:
https://github.com/user-attachments/assets/c59179bf-5581-4dd3-9798-b1e6e1671608
Did you use any custom configs/plugins? Can you reproduce it with the default config (mv ~/.config/yazi ~/.config/yazi-backup
)?
Also I noticed you're not using the latest nightly version; can you reproduce it with the latest nightly?
Yes i removed all plugins and configurations, Used the nightly build. Stil when i "mouse scroll", i am unable to scroll down. after a certain height as shown in the preview.
Have you tried running it outside of tmux to see if it works? Also, are you using key scrolling or mouse scrolling? Could you check if the behavior changes with https://github.com/sxyazi/yazi/issues/1328#issuecomment-2379689321 ?
Inside of TMUX, "mouse scrolling" doesnt work. Keyboard works just fine. Outside of TMUX, weirdly up mouse scrolling works, not downwards. Keyboard works just fine both direction.
Yes with the mentioned changes, it works perfectly inside and outside tmux.
Please try https://github.com/sxyazi/yazi/pull/1736
I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please file a new issue and complete the issue template so we can capture all the details necessary to investigate further.
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
WezTerm
yazi --debug
outputDid you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (
yazi --debug
) to the nightly that I triedDescribe the bug
When you are scrolling some file, it stop under small heights of TMUX preview.
Screencast from 29-09-24 12:15:09 AM IST.webm
Minimal reproducer
Take any file, keep decreasing the height in TMUX, and you ll see that scrolling stops.
Anything else?
Again, just discovered by chance. :D Is it supposed to be like this? like is it intended or a bug?