We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f15af8 commit baca4e2Copy full SHA for baca4e2
packages/core/src/components/Dropdown/hooks/useHiddenOptionsData.js
@@ -19,7 +19,11 @@ export function useHiddenOptionsData({
19
20
while (childIndex < ref.children.length && optionIndex < selectedOptionsCount) {
21
const child = ref.children[childIndex];
22
- const isOption = child.classList.contains(chipClassName) || child.classList.contains(chipWrapperClassName);
+ const chipClasses = chipClassName.split(" ");
23
+
24
+ const isOption =
25
+ child.classList.contains(chipWrapperClassName) ||
26
+ chipClasses.some(className => child.classList.contains(className));
27
28
if (isOption) {
29
const { bottom: childBottom } = child.getBoundingClientRect();
0 commit comments