react-magma-dom 4.7.0-next.14 → 4.7.0-next.15
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/esm/index.js +8 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/react-magma-dom.cjs.development.js +8 -2
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -25134,7 +25134,10 @@ function InternalCombobox(props) {
|
|
|
25134
25134
|
function defaultHandleClearIndicatorClick(event) {
|
|
25135
25135
|
event.stopPropagation();
|
|
25136
25136
|
if (inputRef.current) {
|
|
25137
|
-
inputRef.current.
|
|
25137
|
+
var inputElement = inputRef.current.querySelector('input');
|
|
25138
|
+
if (inputElement) {
|
|
25139
|
+
inputElement.focus();
|
|
25140
|
+
}
|
|
25138
25141
|
}
|
|
25139
25142
|
reset();
|
|
25140
25143
|
}
|
|
@@ -25420,7 +25423,10 @@ function MultiCombobox(props) {
|
|
|
25420
25423
|
function defaultHandleClearIndicatorClick(event) {
|
|
25421
25424
|
event.stopPropagation();
|
|
25422
25425
|
if (inputRef.current) {
|
|
25423
|
-
inputRef.current.
|
|
25426
|
+
var inputElement = inputRef.current.querySelector('input');
|
|
25427
|
+
if (inputElement) {
|
|
25428
|
+
inputElement.focus();
|
|
25429
|
+
}
|
|
25424
25430
|
}
|
|
25425
25431
|
reset();
|
|
25426
25432
|
}
|