@usereactify/search 3.8.0 → 3.8.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.
@@ -52,8 +52,8 @@ const useReactiveDataSearchProps = (props = {}) => {
52
52
  else
53
53
  cancelDebouncedTriggerQuery();
54
54
  }, onBlur: () => {
55
- // requestAnimationFrame ensures that results are still clickable before close
56
- window.requestAnimationFrame(() => setShowInstantSearchResults(false));
55
+ // setTimeout ensures that results are still clickable before close
56
+ setTimeout(() => setShowInstantSearchResults(false), 300);
57
57
  }, onFocus: () => {
58
58
  setShowInstantSearchResults(true);
59
59
  }, innerClass: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@usereactify/search",
3
3
  "description": "React UI library for Reactify Search",
4
- "version": "3.8.0",
4
+ "version": "3.8.1",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -12,6 +12,7 @@
12
12
  "scripts": {
13
13
  "watch": "tsc --watch",
14
14
  "release": "standard-version",
15
+ "patch": "standard-version -r patch",
15
16
  "build": "rimraf dist && tsc",
16
17
  "prettier": "prettier --write .",
17
18
  "storybook": "start-storybook -p 6006",