@antscorp/antsomi-ui 1.3.5-beta.310 → 1.3.5-beta.311

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.
@@ -72,9 +72,9 @@ export const Scrollbars = props => {
72
72
  // Set a minimum height for the view to ensure space for the scrollbar
73
73
  newStyle.minHeight = THUMB_SIZE;
74
74
  // If autoHeightMax is defined, adjust the maxHeight to include space for the scrollbar
75
- if (autoHeightMax) {
76
- newStyle.maxHeight = parseInt(`${autoHeightMax}`) + THUMB_SIZE;
77
- }
75
+ // if (autoHeightMax) {
76
+ // newStyle.maxHeight = parseInt(`${autoHeightMax}`) + THUMB_SIZE;
77
+ // }
78
78
  // Return a div element with the adjusted styles and original props, applying a custom class for styling
79
79
  return React.createElement("div", Object.assign({ className: "scrollbar-view" }, props, { style: newStyle }));
80
80
  }, onUpdate: onUpdate, hideTracksWhenNotNeeded: true }, restProps)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.310",
3
+ "version": "1.3.5-beta.311",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",