Release 9.8.0-alpha.1
Pre-release9.8.0-alpha.1 (2022-12-06)
Bug Fixes
-
pat-bumper: Do not calculate padding/margin on viewport. (baae37c)On the viewport as scrolling container paddings and margins are not
influencing the sticky element's position. This is contrary to other
scrolling containers within the document. The position calculation is
easier and only consists of the clientWidth/Height to respect scrollbar
widths. -
pat-bumper: Fix position calculation for sticky elements. (4da8d70)Following the sticky position specification only top, right, bottom and
left values are used to compute the position relative to the scrolling
container. -
pat-bumper: Support dynamic position values. (b70fad2)The container and element positions need to be calculated every time, as
they are likely to be changed by dynamically assigned classes. This can
be the case for different position values based on the scrolling
direction classes set by pat-scroll-box.