dtable-ui-component 6.0.117-beta.10 → 6.0.117-beta.11

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.
@@ -20,10 +20,7 @@ const DTableSubDropdownMenu = _ref => {
20
20
  menuProps,
21
21
  children
22
22
  } = _ref;
23
- let customMenuProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, menuProps), {}, {
24
- flip: false,
25
- container: document.body
26
- });
23
+ let customMenuProps = (0, _objectSpread2.default)({}, menuProps);
27
24
  if (container) {
28
25
  customMenuProps.container = container;
29
26
  }
@@ -41,11 +38,6 @@ const DTableSubDropdownMenu = _ref => {
41
38
  className: (0, _classnames.default)('dtable-sub-dropdown-menu', className),
42
39
  menuProps: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, customMenuProps), {}, {
43
40
  modifiers: [{
44
- name: 'preventOverflow',
45
- options: {
46
- boundary: document.body
47
- }
48
- }, {
49
41
  name: 'offset',
50
42
  options: {
51
43
  offset: [-8, -1]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.117-beta.10",
3
+ "version": "6.0.117-beta.11",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.8",