baron
baron copied to clipboard
Native scroll with custom scrollbar
Hi! There's an [`eval`](https://github.com/Diokuz/baron/blob/master/src/core.js#L4) usage, which is actually used not to evaluate code, but to get a global object reference. This doesn't allow using the library with `unsafe-eval` CSP policy...
I make a gap/padding in the content (using additional inner wrapper for that as suggested [here](https://github.com/Diokuz/baron/issues/77#issuecomment-64826281)) to accommodate scrollbars, but only if they are present (`barOnCls` is added), so in...
The situation is simple: clipper 100% height of the viewport + horizontal scroll.
The broken behaviour is described here: https://github.com/grafana/grafana/issues/12726 I think we're hitting a FFMAC special case in baron, our scroll handler. It adds padding (15px) on each scroll element update: https://github.com/Diokuz/baron/blob/master/src/core.js#L596...
В общем страница вся разежается при использовании процентного соотношения. Как можно решить данную проблему? Переход на фикс ширину не возможен, т.е. сайт полностью резинка.
``` import baron from 'libs/baron.min'; ... this.scroller = baron({ scroller: ... }); ``` Exception: ``` libs_baron_min__WEBPACK_IMPORTED_MODULE_6___default(...) is not a function ``` Webpack version: 4.8.3
Здравствуйте! Очень классный скролл, большое спасибо! Я встроил скролл в поиск на сайте, не подскажете, как избавиться вот от подобных артефактов? Я делал скроллу display:none, но после инициализации плагина он...
Здравствуйте, Дмитрий! В Google Chrome воспроизводится поведение при котором область прокрутки не реагирует на прокрутку колесом мыши. Воспроизвести можно и на Вашей демонстрационной таблице странице: [http://diokuz.github.io/baron/](url). Шаги воспроизведения: 1. Прокручиваем...
Man, please create base structure of baron and add to tutorial. I have been workiing with baron already two hours and dont understanding how it works. For example HTML ```...
I init baron in hidden block(block has display: none) And when i open this block i see the default browser`s scroll some miliseconds then showing a baron scroll. But when...