@acrool/react-picker 0.1.3-alpha.0 → 0.1.3-alpha.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.
@@ -986,9 +986,9 @@ function Et(t, a, n) {
986
986
  }, []), Ee = N(() => {
987
987
  requestAnimationFrame(() => {
988
988
  var h;
989
- (h = F.current) == null || h.focus(), l(!1);
989
+ n != null && n.isDisabledHideAutoFocus || (h = F.current) == null || h.focus(), l(!1);
990
990
  });
991
- }, []), _e = N(() => {
991
+ }, [n == null ? void 0 : n.isDisabledHideAutoFocus]), _e = N(() => {
992
992
  l((h) => (h && requestAnimationFrame(() => {
993
993
  var S;
994
994
  (S = F.current) == null || S.focus();
package/dist/types.d.ts CHANGED
@@ -28,6 +28,7 @@ export interface IPickerOption {
28
28
  isEnableHideSave?: boolean;
29
29
  isEnableClickOutSiteHidden?: boolean;
30
30
  isDisabledAutoPosition?: boolean;
31
+ isDisabledHideAutoFocus?: boolean;
31
32
  isVisibleMask?: boolean;
32
33
  isDebug?: boolean;
33
34
  importantPosition?: IPosition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acrool/react-picker",
3
- "version": "0.1.3-alpha.0",
3
+ "version": "0.1.3-alpha.1",
4
4
  "description": "This is a react method to quickly combine buttons with Picker",
5
5
  "keywords": [
6
6
  "acrool",