@etsoo/materialui 1.2.24 → 1.2.25

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/lib/Tiplist.js CHANGED
@@ -169,7 +169,7 @@ export function Tiplist(props) {
169
169
  onValueChange(value);
170
170
  // For clear case
171
171
  if (reason === "clear") {
172
- stateUpdate({ options: [] });
172
+ stateUpdate({ options: [], open: true });
173
173
  loadDataDirect();
174
174
  }
175
175
  }, open: states.open, openOnFocus: openOnFocus, onOpen: () => {
package/lib/TiplistPro.js CHANGED
@@ -160,7 +160,7 @@ export function TiplistPro(props) {
160
160
  }
161
161
  // For clear case
162
162
  if (reason === "clear") {
163
- stateUpdate({ options: [] });
163
+ stateUpdate({ options: [], open: true });
164
164
  loadDataDirect();
165
165
  }
166
166
  }, open: states.open, openOnFocus: openOnFocus, onOpen: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.2.24",
3
+ "version": "1.2.25",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
package/src/Tiplist.tsx CHANGED
@@ -291,7 +291,7 @@ export function Tiplist<
291
291
 
292
292
  // For clear case
293
293
  if (reason === "clear") {
294
- stateUpdate({ options: [] });
294
+ stateUpdate({ options: [], open: true });
295
295
  loadDataDirect();
296
296
  }
297
297
  }}
@@ -305,7 +305,7 @@ export function TiplistPro<T extends ListType2 = ListType2>(
305
305
 
306
306
  // For clear case
307
307
  if (reason === "clear") {
308
- stateUpdate({ options: [] });
308
+ stateUpdate({ options: [], open: true });
309
309
  loadDataDirect();
310
310
  }
311
311
  }}