@gxpl/sdk 0.0.32 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -151,7 +151,7 @@ function getDirectionFromDelta(deltaX, deltaY) {
|
|
|
151
151
|
function canTransition(direction, el) {
|
|
152
152
|
switch (direction) {
|
|
153
153
|
case 'north':
|
|
154
|
-
return el.scrollTop
|
|
154
|
+
return el.scrollTop <= 0;
|
|
155
155
|
case 'south': {
|
|
156
156
|
const isAllowed = el.scrollTop + el.clientHeight + 1 >= el.scrollHeight;
|
|
157
157
|
return isAllowed;
|
|
@@ -40,6 +40,7 @@ const Section = ({ section, data, children }) => {
|
|
|
40
40
|
position: relative;
|
|
41
41
|
display: ${hidden ? 'none' : 'block'};
|
|
42
42
|
background-color: ${color_1.CntrlColor.parse(color !== null && color !== void 0 ? color : DEFAULT_COLOR).fmt('rgba')};
|
|
43
|
+
overflow: clip;
|
|
43
44
|
}
|
|
44
45
|
.section-background-overlay-${section.id} {
|
|
45
46
|
height: ${getSectionHeight(height)};
|