Diokuz / baron

Native scroll with custom scrollbar
MIT License
776 stars 124 forks source link

Horizontal scroll by mousewheel #164

Closed serjazz closed 7 years ago

serjazz commented 7 years ago

Good day. If this is possible: scrolling with the mouse wheel at horizontal placement. Currently, the scrolling works only if it is explicitly pulling the slider: http://take.ms/r8b1A

When I try to scroll while over the element - turns page.

serjazz commented 7 years ago

Also interested in the moment of the horizontal scroll content by touch event

lovelyelfpop commented 7 years ago

English please, most of us are not familiar with Russian

serjazz commented 7 years ago

I`m change my comments into english.

Diokuz commented 7 years ago

The scroll mechanic is native. To scroll something in horizontal direction you need an appropriate device, such as: touch/trackbar, magic mouse, double wheel mouse, trackball etc. Or you could drag scrollbar.

Even if I were able to do that, I would not, because of UX. Imagine: you scroll a page vertically, and suddenly it stops and something inside the page starts to scroll horizontally. It is not a good experience.