@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 === 0;
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)};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gxpl/sdk",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "Generic SDK for use in public websites.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",