@tensor_1/react 2.67.0 → 2.67.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/components/Menu.js +1 -0
- package/dist/index.cjs +1 -0
- package/package.json +1 -1
package/dist/components/Menu.js
CHANGED
|
@@ -47,6 +47,7 @@ function Menu({ trigger, children, open: controlledOpen, defaultOpen = false, on
|
|
|
47
47
|
if (refocus) triggerRef.current?.focus();
|
|
48
48
|
};
|
|
49
49
|
useEffect(() => {
|
|
50
|
+
typeahead.current = { text: "", at: 0 };
|
|
50
51
|
const el = menu();
|
|
51
52
|
if (!el) return;
|
|
52
53
|
const shown = () => {
|
package/dist/index.cjs
CHANGED
|
@@ -9466,6 +9466,7 @@ function Menu({ trigger, children, open: controlledOpen, defaultOpen = false, on
|
|
|
9466
9466
|
if (refocus) triggerRef.current?.focus();
|
|
9467
9467
|
};
|
|
9468
9468
|
(0, import_react64.useEffect)(() => {
|
|
9469
|
+
typeahead2.current = { text: "", at: 0 };
|
|
9469
9470
|
const el = menu();
|
|
9470
9471
|
if (!el) return;
|
|
9471
9472
|
const shown = () => {
|