carbon-react 146.0.0 → 146.0.1
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/esm/components/multi-action-button/multi-action-button.component.js +1 -0
- package/esm/components/split-button/split-button.component.js +1 -0
- package/lib/components/multi-action-button/multi-action-button.component.js +1 -0
- package/lib/components/split-button/split-button.component.js +1 -0
- package/package.json +1 -1
|
@@ -57,6 +57,7 @@ export const MultiActionButton = ({
|
|
|
57
57
|
disablePortal: true,
|
|
58
58
|
placement: position === "left" ? "bottom-start" : /* istanbul ignore next */"bottom-end",
|
|
59
59
|
reference: buttonNode,
|
|
60
|
+
popoverStrategy: "fixed",
|
|
60
61
|
middleware: [offset(6), flip({
|
|
61
62
|
fallbackStrategy: "initialPlacement"
|
|
62
63
|
})]
|
|
@@ -119,6 +119,7 @@ export const SplitButton = ({
|
|
|
119
119
|
return /*#__PURE__*/React.createElement(Popover, {
|
|
120
120
|
disablePortal: true,
|
|
121
121
|
placement: position === "left" ? /* istanbul ignore next */"bottom-start" : "bottom-end",
|
|
122
|
+
popoverStrategy: "fixed",
|
|
122
123
|
reference: buttonNode,
|
|
123
124
|
middleware: [offset(6), flip({
|
|
124
125
|
fallbackStrategy: "initialPlacement"
|
|
@@ -66,6 +66,7 @@ const MultiActionButton = ({
|
|
|
66
66
|
disablePortal: true,
|
|
67
67
|
placement: position === "left" ? "bottom-start" : /* istanbul ignore next */"bottom-end",
|
|
68
68
|
reference: buttonNode,
|
|
69
|
+
popoverStrategy: "fixed",
|
|
69
70
|
middleware: [(0, _dom.offset)(6), (0, _dom.flip)({
|
|
70
71
|
fallbackStrategy: "initialPlacement"
|
|
71
72
|
})]
|
|
@@ -128,6 +128,7 @@ const SplitButton = ({
|
|
|
128
128
|
return /*#__PURE__*/_react.default.createElement(_popover.default, {
|
|
129
129
|
disablePortal: true,
|
|
130
130
|
placement: position === "left" ? /* istanbul ignore next */"bottom-start" : "bottom-end",
|
|
131
|
+
popoverStrategy: "fixed",
|
|
131
132
|
reference: buttonNode,
|
|
132
133
|
middleware: [(0, _dom.offset)(6), (0, _dom.flip)({
|
|
133
134
|
fallbackStrategy: "initialPlacement"
|