You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I’m using the scrollbar but I cannot get it fade out smoothly/gradually, it just disappears abruptly.
The issue happened with a fadeout time of 1000 (1 second), but equally with 3000 (3s).
I don’t know if it’s important, but I also noticed that the scrollbar on the Simulator always stay visible, it only disappears on iOS and Android.
Here’s the code I call in init():
UIManager.getInstance().getLookAndFeel().setFadeScrollBar(true);
UIManager.getInstance().getLookAndFeel().setFadeScrollBarSpeed(1000); //milliseconds I assume
and my CSS:
scrollVisibleBool: true;
fadeScrollBarBool:true;
fadeScrollEdgeBool:false; /*not used I believe */
fadeScrollEdgeInt:0;
Describe the bug
I’m using the scrollbar but I cannot get it fade out smoothly/gradually, it just disappears abruptly.
The issue happened with a fadeout time of 1000 (1 second), but equally with 3000 (3s).
I don’t know if it’s important, but I also noticed that the scrollbar on the Simulator always stay visible, it only disappears on iOS and Android.
Here’s the code I call in init():
UIManager.getInstance().getLookAndFeel().setFadeScrollBar(true);
UIManager.getInstance().getLookAndFeel().setFadeScrollBarSpeed(1000); //milliseconds I assume
and my CSS:
scrollVisibleBool: true;
fadeScrollBarBool:true;
fadeScrollEdgeBool:false; /*not used I believe */
fadeScrollEdgeInt:0;
Scroll{
background: transparent;
color:transparent;
margin:0;
padding: 0 0 0 0.5mm;
}
ScrollThumb{ /*not used I believe */
cn1-derive:Scroll;
color:transparent;
padding: 0;
margin:0;
background: transparent;
}
To Reproduce
Add the code above to a Hello Word app's CSS and main.
Expected behavior
The scrollbar should fade out gradually instead of disappear instantly after a short time.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: