pro-design-vue 1.0.0-rc.3 → 1.0.0-rc.4

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.
@@ -1,4 +1,4 @@
1
- /*! Pro Design Vue v1.0.0-rc.3 */
1
+ /*! Pro Design Vue v1.0.0-rc.4 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue')) :
@@ -16,7 +16,7 @@
16
16
  const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
17
17
  const DEFAULT_NAMESPACE = "pro";
18
18
 
19
- const version$1 = "1.0.0-rc.3";
19
+ const version$1 = "1.0.0-rc.4";
20
20
 
21
21
  const makeInstaller = (components = []) => {
22
22
  const install = (app) => {
@@ -30481,8 +30481,8 @@
30481
30481
  };
30482
30482
  });
30483
30483
  const bodyViewportStyle = vue.computed(() => ({
30484
- // width: `calc(100% + ${tableContext.showVerticalScrollbar.value ? tableContext.scrollBarSize.value || 15 : 0}px)`,
30485
- width: `calc(100% + 0px)`,
30484
+ width: `calc(100% + ${tableContext.showVerticalScrollbar.value ? tableContext.scrollBarSize.value || 15 : 0}px)`,
30485
+ // width: `calc(100% + 0px)`,
30486
30486
  overflowX: "hidden",
30487
30487
  overflowY: "auto",
30488
30488
  height: "100%"
@@ -31663,6 +31663,9 @@
31663
31663
  const showHorizontalScrollbar = vue.ref(false);
31664
31664
  const debounceFn = debounce(() => {
31665
31665
  showHorizontalScrollbar.value = bodyMaxWidth.value > bodyWidth.value;
31666
+ if (bodyWidth.value > bodyScrollWidth.value) {
31667
+ bodyScrollWidth.value = bodyWidth.value;
31668
+ }
31666
31669
  }, 100);
31667
31670
  vue.watch([bodyMaxWidth, bodyWidth], () => {
31668
31671
  debounceFn();