-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checkbox.Item ignores disable prop #3014
Comments
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username). Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup. |
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. |
Not sure what above message was about, all versions were included in initial issue (except icons, which isn't mention in template) 🤷 |
Thanks for reporting the bug. Could you please create a PR with changes + tests covering the case where CheckboxItem's |
Will see if I can get around to it this weekend (likely not around); will find/copy approach taken in similar components for the test. One question I did have was about the checkbox item label colour, as "disabled" may actually be a bit light 🤷 (I guess |
Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it. |
Current behaviour
Trying to disable
Checkbox.Item
only tweaks the checkbox style (not label) and does not prevent item presses.Expected behaviour
Checkbox and label should appear disabled and be non-interactable.
Code sample
What have you tried
Noticed that the
CheckboxItem
component does not passdisabled
on to theTouchableRipple
as would be expected, and patched withpatch-package
.Your Environment
0.64.3
4.9.2
16.6.0
npm 7.20.6
43
The text was updated successfully, but these errors were encountered: