@widergy/mobile-ui 0.36.0 → 0.36.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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.36.1](https://github.com/widergy/mobile-ui/compare/v0.36.0...v0.36.1) (2023-01-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * avoid automatic selection of first option ([#233](https://github.com/widergy/mobile-ui/issues/233)) ([fecb7e0](https://github.com/widergy/mobile-ui/commit/fecb7e0002786de872d54c0e3957d5164dc0b37d))
7
+
1
8
  # [0.36.0](https://github.com/widergy/mobile-ui/compare/v0.35.8...v0.36.0) (2022-12-02)
2
9
 
3
10
 
@@ -132,8 +132,8 @@ const UTMenu = ({
132
132
  onChange={setQuery}
133
133
  placeholder={autoCompletePlaceholder}
134
134
  onSubmitEditing={
135
- query
136
- ? filteredOptions[0] && handleOptionPress(() => onPress(filteredOptions[0]))
135
+ query && filteredOptions[0]
136
+ ? () => handleOptionPress(() => onPress(filteredOptions[0]))
137
137
  : closeMenu
138
138
  }
139
139
  />
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@widergy/mobile-ui",
3
3
  "description": "Widergy Mobile Components",
4
4
  "author": "widergy",
5
- "version": "0.36.0",
5
+ "version": "0.36.1",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [