@dloizides/ui-layout 1.26.0 → 1.26.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/CHANGELOG.md +19 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -586,6 +586,7 @@ var InlineMenu = ({
|
|
|
586
586
|
value,
|
|
587
587
|
options,
|
|
588
588
|
containerRef,
|
|
589
|
+
isOpen,
|
|
589
590
|
optionTestID,
|
|
590
591
|
menuMinWidth = 0,
|
|
591
592
|
animatedStyle,
|
|
@@ -617,7 +618,7 @@ var InlineMenu = ({
|
|
|
617
618
|
useMenuKeyboard({
|
|
618
619
|
containerRef,
|
|
619
620
|
menuRef,
|
|
620
|
-
enabled:
|
|
621
|
+
enabled: isOpen,
|
|
621
622
|
itemCount: options.length,
|
|
622
623
|
onHighlightChange: setHighlightedIndex,
|
|
623
624
|
onSelectHighlighted: selectHighlighted,
|
|
@@ -856,6 +857,7 @@ var ModalDropdown = ({
|
|
|
856
857
|
accessibilityLabel,
|
|
857
858
|
animatedStyle: menuAnim.style,
|
|
858
859
|
containerRef: anchorRef,
|
|
860
|
+
isOpen,
|
|
859
861
|
menuMinWidth,
|
|
860
862
|
optionTestID: optionTestIDFor,
|
|
861
863
|
options,
|