linear-react-components-ui 0.4.77-beta.11 → 0.4.77-beta.12

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/list/index.js CHANGED
@@ -197,7 +197,6 @@ var List = function List(props) {
197
197
  (0, _react.useEffect)(function () {
198
198
  if (onSelectItem && props.selectedItemId) {
199
199
  setSelectedItemId(props.selectedItemId);
200
- if (selectedItemRef.current) selectedItemRef.current.focus();
201
200
  }
202
201
  }, [props.selectedItemId]);
203
202
  (0, _react.useEffect)(function () {
@@ -86,7 +86,6 @@ var PopupMenuSearch = function PopupMenuSearch(props) {
86
86
  }, [style]);
87
87
  (0, _react.useEffect)(function () {
88
88
  if (searchResult.length > 0) setDefaultSelectedItemId(searchResult[0].id);
89
- searchFieldRef.current.focus();
90
89
  }, []);
91
90
 
92
91
  var search = function search(value) {
@@ -95,7 +94,6 @@ var PopupMenuSearch = function PopupMenuSearch(props) {
95
94
  return item.content.toLowerCase().includes(filter);
96
95
  });
97
96
  if (result.length > 0) setDefaultSelectedItemId(result[0].id);
98
- searchFieldRef.current.focus();
99
97
  setSearchFieldContent(value);
100
98
  setSearchResult(result);
101
99
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linear-react-components-ui",
3
- "version": "0.4.77-beta.11",
3
+ "version": "0.4.77-beta.12",
4
4
  "description": "Linear Sistemas ReactJs Components",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {