-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[RNMobile] Display lock icon in disabled state of Cell
component
#50907
Conversation
Size Change: 0 B Total Size: 1.4 MB ℹ️ View Unchanged
|
@osullivanchris as mentioned in this comment, this PR updates the disabled state of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, LGTM! 🚀
@fluiddot looks good to me, nice work! |
What?
Adds a UX improvement for the disabled state of the
Cell
component by adding a lock icon.Why?
Follows up #50665 and this comment.
How?
The following design updates have been applied to the disabled style of cell components:
And the accordingly updates to the code:
Cell
component.BottomSheetSelectControl
: Don't render the chevron icon in favor of the lock icon.BottomSheetTextControl
: Don't render the chevron icon in favor of the lock icon.BottomSheetColorCell
: Don't render the chevron icon in favor of the lock icon.BottomSheetRadioCell
: Only render lock icon for the selected item.BottomSheetRangeCell
: Render the lock icon along with the slider.Testing Instructions
In order to test the different control components, I created a test component for this purpose.
Click here to display patch
Testing Instructions for Keyboard
N/A
Screenshots or screencast
Click here to show Android screenshots
Light mode
Dark mode
Click here to show iOS screenshots
Light mode
Dark mode