@plastic-js/tsumiki 0.1.87 → 0.1.88

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.
@@ -53,7 +53,6 @@ var sheetClass = css({
53
53
  },
54
54
  "&[data-dragging]": {
55
55
  transition: "none",
56
- animation: "none",
57
56
  willChange: "transform"
58
57
  },
59
58
  "&::after": {
@@ -188,7 +187,12 @@ var BottomSheet = (props) => {
188
187
  velocity = 0;
189
188
  currentDy = 0;
190
189
  dragActive = true;
191
- if (sheetEl) sheetEl.dataset.dragging = "";
190
+ if (sheetEl) {
191
+ sheetEl.getAnimations().forEach((a) => {
192
+ a.cancel();
193
+ });
194
+ sheetEl.dataset.dragging = "";
195
+ }
192
196
  };
193
197
  const onGrabberPointerMove = (e) => {
194
198
  if (!dragActive) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plastic-js/tsumiki",
3
- "version": "0.1.87",
3
+ "version": "0.1.88",
4
4
  "description": "A UI component library for Plastic JS.",
5
5
  "license": "MIT",
6
6
  "author": "tigre",