Hi, I have a question about custom scrolling in datatable, it does not work in safari when I scroll the mouse, can you give me some advice ?
Hi,
Do you mean that mouse-wheel do not cause scroll ? Or you can’t drag the custom scroll by mouse ( click on custom scroll and drag action ) ?
mouse-wheel do not cause scroll
Can someone help me?
We have tested the snippet, but as far as I can see, mouse-wheel scrolling works smoothly. However, there are two comments:
-
First of all, in Safari
scrollSize
will return0
by default, so the Webix custom scroll won’t be initialized (both look similar). -
Also, initialization should be different. Try to initialize the view and the scroll in the
webix.ready()
. As follows: http://webix.com/snippet/47aef1f7