carbon-react 101.0.0 → 101.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.
|
@@ -235,7 +235,7 @@ const SelectList = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
setListHeight(`${newHeight}px`);
|
|
238
|
-
}, [children]);
|
|
238
|
+
}, [children, listRef.current]);
|
|
239
239
|
(0, _react.useEffect)(() => {
|
|
240
240
|
const keyboardEvent = "keydown";
|
|
241
241
|
const listElement = listRef.current;
|
|
@@ -74,29 +74,23 @@ const Default = args => {
|
|
|
74
74
|
text: "Blue",
|
|
75
75
|
value: "3"
|
|
76
76
|
}), /*#__PURE__*/_react.default.createElement(_.Option, {
|
|
77
|
-
text: "
|
|
77
|
+
text: "White",
|
|
78
78
|
value: "4"
|
|
79
79
|
}), /*#__PURE__*/_react.default.createElement(_.Option, {
|
|
80
80
|
text: "Green",
|
|
81
81
|
value: "5"
|
|
82
82
|
}), /*#__PURE__*/_react.default.createElement(_.Option, {
|
|
83
|
-
text: "
|
|
83
|
+
text: "Like a lot of intelligent animals, most crows are quite social. For instance, American crows spend most of the year living in pairs or small family groups. During the winter months, they will congregate with hundreds or even thousands of their peers to sleep together at night",
|
|
84
84
|
value: "6"
|
|
85
85
|
}), /*#__PURE__*/_react.default.createElement(_.Option, {
|
|
86
86
|
text: "Pink",
|
|
87
87
|
value: "7"
|
|
88
|
-
}), /*#__PURE__*/_react.default.createElement(_.Option, {
|
|
89
|
-
text: "Purple",
|
|
90
|
-
value: "8"
|
|
91
88
|
}), /*#__PURE__*/_react.default.createElement(_.Option, {
|
|
92
89
|
text: "Red",
|
|
93
|
-
value: "
|
|
94
|
-
}), /*#__PURE__*/_react.default.createElement(_.Option, {
|
|
95
|
-
text: "White",
|
|
96
|
-
value: "10"
|
|
90
|
+
value: "8"
|
|
97
91
|
}), /*#__PURE__*/_react.default.createElement(_.Option, {
|
|
98
92
|
text: "Yellow",
|
|
99
|
-
value: "
|
|
93
|
+
value: "9"
|
|
100
94
|
}));
|
|
101
95
|
};
|
|
102
96
|
|