@webqit/webflo 0.20.48 → 0.20.50

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.
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "vanila-javascript"
13
13
  ],
14
14
  "homepage": "https://webqit.io/tooling/webflo",
15
- "version": "0.20.48",
15
+ "version": "0.20.50",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
@@ -1074,6 +1074,10 @@ export class ModalElement extends BaseElement {
1074
1074
 
1075
1075
  /* ----------- swipe-dismiss ----------- */
1076
1076
 
1077
+ :host(:not(._swipe-dismiss)) {
1078
+ --swipe-dismiss-length: 0px;
1079
+ }
1080
+
1077
1081
  :host(._swipe-dismiss:not(._horz)) {
1078
1082
  --swipe-dismiss-length: var(--modal-swipe-dismiss-length, calc(var(--view-height) - var(--minmax-length)));
1079
1083
  }
@@ -1322,7 +1326,7 @@ export class ModalElement extends BaseElement {
1322
1326
  --scroll-snap-end: start;
1323
1327
  }
1324
1328
 
1325
- .view(:not(._horz)) {
1329
+ :host(:not(._horz)) .view {
1326
1330
  scroll-snap-type: y mandatory;
1327
1331
  }
1328
1332