utopia-ui 3.0.0-alpha.243 → 3.0.0-alpha.244
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/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -4655,6 +4655,7 @@ var Autocomplete = function (_a) {
|
|
4655
4655
|
heighlightedSuggestion > 0 && setHeighlightedSuggestion(function (current) { return current - 1; });
|
4656
4656
|
break;
|
4657
4657
|
case 'Enter':
|
4658
|
+
event.preventDefault();
|
4658
4659
|
if (filteredSuggestions.length > 0) {
|
4659
4660
|
onSelected(filteredSuggestions[heighlightedSuggestion]);
|
4660
4661
|
setHeighlightedSuggestion(0);
|