@1337exp/taoui 2.1.0 → 2.1.1

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/dist/index.mjs CHANGED
@@ -3312,7 +3312,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
3312
3312
  const c = getScrollValue();
3313
3313
  if (c > 0) {
3314
3314
  window.requestAnimationFrame(goToTop);
3315
- window.scrollTo(0, c - Math.max(10, c / 8));
3315
+ window.scrollTo({ top: c - Math.max(10, c / 8), left: 0, behavior: "instant" });
3316
3316
  }
3317
3317
  }
3318
3318
  function onScroll() {
@@ -3395,7 +3395,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
3395
3395
  };
3396
3396
  }
3397
3397
  });
3398
- const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-9ec6a1a2"]]);
3398
+ const TaoScrollTop = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-89d2feaa"]]);
3399
3399
  const _hoisted_1$u = { class: "tao-progress" };
3400
3400
  const _hoisted_2$r = {
3401
3401
  key: 0,