TEXTUAL_SMOOTH_SCROLL doesn't disable the smooth effect #5856
-
The bugI'm finding a way to disable the smooth effect in a VerticalScroll container. The only way i see is setting up the var I've tested two levels of assigning a value to the variable
> TEXTUAL_SMOOTH_SCROLL=0 python mounter.py or > TEXTUAL_SMOOTH_SCROLL=0 textual run mounter.py
import os
os.environ['TEXTUAL_SMOOTH_SCROLL'] = '0' Both cases scrolling is still smooth, but i would like to disable it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Thank you for your issue. Give us a little time to review it. PS. You might want to check the FAQ if you haven't done so already. This is an automated reply, generated by FAQtory |
Beta Was this translation helpful? Give feedback.
-
I don't think smooth scrolling refers to what you think it does here. What do you mean re smooth scrolling, and what would you want to happen with it disabled? |
Beta Was this translation helpful? Give feedback.
Setting
TEXTUAL_ANIMATIONS=none
will disable scrollbar animation. You can also set that on the app withself.app.animation_level = "none"
If you want it more finely grained, you can implement
action_page_down
and friends.