schummar-table 0.45.1 → 0.45.3

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.cjs CHANGED
@@ -4797,7 +4797,9 @@ function ExpandControl({
4797
4797
  return !!((_a = state.activeItemsById.get(itemId)) == null ? void 0 : _a.children.length);
4798
4798
  }
4799
4799
  );
4800
- function toggle2() {
4800
+ function toggle2(e2) {
4801
+ e2.preventDefault();
4802
+ e2.stopPropagation();
4801
4803
  const {
4802
4804
  props: { expanded: controlledExpanded, expandOnlyOne, onExpandedChange },
4803
4805
  expanded,
@@ -5062,9 +5064,9 @@ function Virtualized(_a) {
5062
5064
  var _a3;
5063
5065
  const itemIds2 = state.activeItems.map((item) => item.id);
5064
5066
  const root = probeRef.current && findScrollRoot(probeRef.current);
5067
+ if (!state.props.virtual) return { itemIds: itemIds2 };
5065
5068
  if (!probeRef.current || !root || !document.contains(root) || state.displaySizePx === void 0)
5066
5069
  return {};
5067
- if (!state.props.virtual) return { itemIds: itemIds2 };
5068
5070
  const {
5069
5071
  rowHeight,
5070
5072
  initalRowHeight,