Diokuz / baron

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

Clipper impact in non-static position #138

Closed Diokuz closed 8 years ago

Diokuz commented 8 years ago

You are here probably because you got an error:

Baron [ xx:xx:xx ]: Simultaneous use of absolute position and clipper impact values detected. Those values cannot be used together. See more https://github.com/Diokuz/baron/issues/138

You cannot do this because it have no sense: in absolute position mode scroller size is absolutely depends on clipper size.

But clipper value of impact param means you define scroller size in your CSS (for example, can vary on media-queries). That means your clipper size depends on scroller css-defined size.

clipper and scroller sizes cannot depends on each other at one time.