Skip to content

Commit e7f2344

Browse files
authored
Merge pull request #4987 from GeekyAnts/revert-4984-fix/checkbox-group-rerendering-issue
Revert "Fix/checkbox group rerendering issue"
2 parents 2b26081 + d93b83b commit e7f2344

File tree

3 files changed

+2
-40
lines changed

3 files changed

+2
-40
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
"@react-native-aria/slider": "^0.2.5-alpha.1",
189189
"@react-native-aria/tabs": "^0.2.7",
190190
"@react-native-aria/utils": "^0.2.8",
191-
"@react-stately/checkbox": "3.0.3",
191+
"@react-stately/checkbox": "^3.0.1",
192192
"@react-stately/collections": "^3.3.0",
193193
"@react-stately/combobox": "^3.0.0-alpha.1",
194194
"@react-stately/radio": "^3.2.1",

src/components/primitives/Checkbox/Checkbox.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ const Checkbox = (
7272
const inputProps = React.useMemo(() => groupItemInputProps, [
7373
groupItemInputProps.checked,
7474
groupItemInputProps.disabled,
75+
groupItemInputProps,
7576
]);
7677

7778
const [contextCombinedProps] = React.useState({

yarn.lock

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2598,16 +2598,6 @@
25982598
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-plugin/-/eslint-plugin-1.1.0.tgz#e42b1bef12d2415411519fd528e64b593b1363dc"
25992599
integrity sha512-W/J0fNYVO01tioHjvYWQ9m6RgndVtbElzYozBq1ZPrHO/iCzlqoySHl4gO/fpCl9QEFjvJfjPgtPMTMlsoq5DQ==
26002600

2601-
"@react-stately/[email protected]":
2602-
version "3.0.3"
2603-
resolved "https://registry.yarnpkg.com/@react-stately/checkbox/-/checkbox-3.0.3.tgz#18ee6bd3b544334b6f853bb5c5f7017ac3bb9c37"
2604-
integrity sha512-amT889DTLdbjAVjZ9j9TytN73PszynGIspKi1QSUCvXeA2OVyCwShxhV0Pn7yYX8cMinvGXrjhWdhn0nhYeMdg==
2605-
dependencies:
2606-
"@babel/runtime" "^7.6.2"
2607-
"@react-stately/toggle" "^3.2.3"
2608-
"@react-stately/utils" "^3.2.2"
2609-
"@react-types/checkbox" "^3.2.3"
2610-
26112601
"@react-stately/checkbox@^3.0.1":
26122602
version "3.0.1"
26132603
resolved "https://registry.yarnpkg.com/@react-stately/checkbox/-/checkbox-3.0.1.tgz#2e48a2085f1559549df62c1eda78299127acaf80"
@@ -2773,16 +2763,6 @@
27732763
"@react-types/checkbox" "^3.2.1"
27742764
"@react-types/shared" "^3.2.1"
27752765

2776-
"@react-stately/toggle@^3.2.3":
2777-
version "3.2.6"
2778-
resolved "https://registry.yarnpkg.com/@react-stately/toggle/-/toggle-3.2.6.tgz#4f4558d13700d5f9486037e45a585daf9b2ed1c9"
2779-
integrity sha512-M/+iX6eHYZScKfaOQvp3KqityOuRTWLOgskCNlnQBTq5VSszuD2p4uWxJQWXq3DbU+q872Fz4vJ7eTc2l9YA/Q==
2780-
dependencies:
2781-
"@babel/runtime" "^7.6.2"
2782-
"@react-stately/utils" "^3.4.1"
2783-
"@react-types/checkbox" "^3.2.6"
2784-
"@react-types/shared" "^3.11.2"
2785-
27862766
"@react-stately/tree@^3.1.2":
27872767
version "3.1.2"
27882768
resolved "https://registry.yarnpkg.com/@react-stately/tree/-/tree-3.1.2.tgz#54e49cc7fa283ce21d67f642522c8f281c58b309"
@@ -2815,13 +2795,6 @@
28152795
dependencies:
28162796
"@babel/runtime" "^7.6.2"
28172797

2818-
"@react-stately/utils@^3.4.1":
2819-
version "3.4.1"
2820-
resolved "https://registry.yarnpkg.com/@react-stately/utils/-/utils-3.4.1.tgz#56f049aa1704d338968b5973c796ee606e9c0c62"
2821-
integrity sha512-mjFbKklj/W8KRw1CQSpUJxHd7lhUge4i00NwJTwGxbzmiJgsTWlKKS/1rBf48ey9hUBopXT5x5vG/AxQfWTQug==
2822-
dependencies:
2823-
"@babel/runtime" "^7.6.2"
2824-
28252798
"@react-stately/virtualizer@^3.1.2":
28262799
version "3.1.2"
28272800
resolved "https://registry.yarnpkg.com/@react-stately/virtualizer/-/virtualizer-3.1.2.tgz#43a68ef1281ffe55d60ec37a1eabfa60f8256b72"
@@ -2852,13 +2825,6 @@
28522825
dependencies:
28532826
"@react-types/shared" "^3.2.1"
28542827

2855-
"@react-types/checkbox@^3.2.3", "@react-types/checkbox@^3.2.6":
2856-
version "3.2.6"
2857-
resolved "https://registry.yarnpkg.com/@react-types/checkbox/-/checkbox-3.2.6.tgz#61fd70857bdd2d6da9289892ea366f305ab47ed6"
2858-
integrity sha512-bOQAnnDEpXL1P4oRBiwjnOskKQtawc+JcRZzQk/9k7NwKWfv5MHG/MFDJsW057GPm9Ks0onNATohtw6LFvzAQA==
2859-
dependencies:
2860-
"@react-types/shared" "^3.11.2"
2861-
28622828
"@react-types/[email protected]":
28632829
version "3.0.0-alpha.1"
28642830
resolved "https://registry.yarnpkg.com/@react-types/combobox/-/combobox-3.0.0-alpha.1.tgz#4c390d11bc52c248fda92dc7e755f6dc2dc71b82"
@@ -2916,11 +2882,6 @@
29162882
dependencies:
29172883
"@react-types/shared" "^3.4.0"
29182884

2919-
"@react-types/shared@^3.11.2":
2920-
version "3.11.2"
2921-
resolved "https://registry.yarnpkg.com/@react-types/shared/-/shared-3.11.2.tgz#b269c0cf6223664ac42d980b7add1b67b51b87d4"
2922-
integrity sha512-MIjjjkFi/DTzMVmeFJJrpc51eS/PLNzLZEv6o/QJPhQ9uOMElYqA790qAcG75u3tR0XGU2Vv9RyeOC7+ppw8/Q==
2923-
29242885
"@react-types/shared@^3.2.1", "@react-types/shared@^3.3.0":
29252886
version "3.3.0"
29262887
resolved "https://registry.yarnpkg.com/@react-types/shared/-/shared-3.3.0.tgz#4f959df32f3ae94fcc910546088489144fc8d753"

0 commit comments

Comments
 (0)