@overmap-ai/blocks 1.0.40-improvements.0 → 1.0.40-improvements.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/dist/blocks.js +2 -0
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +2 -0
- package/dist/blocks.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/blocks.js
CHANGED
|
@@ -4085,8 +4085,10 @@ const MenuV2Root = memo((props) => {
|
|
|
4085
4085
|
[getActiveItem, getFirstGroup, getFirstItem, getLastGroup, getLastItem, getNextGroup, getNextItem, onKeyDown]
|
|
4086
4086
|
);
|
|
4087
4087
|
useEffect(() => {
|
|
4088
|
+
var _a;
|
|
4088
4089
|
const firstItem = getFirstItem(internalRef.current);
|
|
4089
4090
|
if (!firstItem) return;
|
|
4091
|
+
(_a = internalRef.current) == null ? void 0 : _a.focus();
|
|
4090
4092
|
setActiveItemId(firstItem.getAttribute(ITEM_SELECTOR));
|
|
4091
4093
|
}, [getFirstItem]);
|
|
4092
4094
|
const contextValue = useMemo(
|