bkui-vue 0.0.1-beta.216 → 0.0.1-beta.217

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.esm.js CHANGED
@@ -15347,13 +15347,6 @@ var Component$j = defineComponent({
15347
15347
  initActiveOptionValue();
15348
15348
  }
15349
15349
  });
15350
- const watchOnce = watch(isPopoverShow, () => {
15351
- setTimeout(() => {
15352
- var _a, _b;
15353
- enableVirtualRender.value && ((_b = (_a = virtualRenderRef.value) == null ? void 0 : _a.reset) == null ? void 0 : _b.call(_a));
15354
- watchOnce();
15355
- });
15356
- });
15357
15350
  const initActiveOptionValue = () => {
15358
15351
  var _a;
15359
15352
  const firstSelected = selected.value[0];
@@ -15573,6 +15566,12 @@ var Component$j = defineComponent({
15573
15566
  hidePopover();
15574
15567
  handleBlur();
15575
15568
  };
15569
+ const handlePopoverShow = () => {
15570
+ setTimeout(() => {
15571
+ var _a, _b;
15572
+ enableVirtualRender.value && ((_b = (_a = virtualRenderRef.value) == null ? void 0 : _a.reset) == null ? void 0 : _b.call(_a));
15573
+ });
15574
+ };
15576
15575
  provide(selectKey, reactive({
15577
15576
  multiple,
15578
15577
  selected,
@@ -15640,7 +15639,8 @@ var Component$j = defineComponent({
15640
15639
  handleInputChange,
15641
15640
  handleInputEnter,
15642
15641
  handleKeydown,
15643
- handleSelectedAllOptionMouseEnter
15642
+ handleSelectedAllOptionMouseEnter,
15643
+ handlePopoverShow
15644
15644
  };
15645
15645
  },
15646
15646
  render() {
@@ -15799,6 +15799,7 @@ var Component$j = defineComponent({
15799
15799
  "class": selectClass
15800
15800
  }, [createVNode(BkPopover2, mergeProps(this.popoverConfig, {
15801
15801
  "onClickoutside": this.handleClickOutside,
15802
+ "onAfterShow": this.handlePopoverShow,
15802
15803
  "ref": "popoverRef"
15803
15804
  }), {
15804
15805
  default: () => renderSelectTrigger(),