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):
- Device: [iPhone XR, Samsung Galaxy S7
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):