Skip to content
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

[Feature] Soft disable support for Chip #476

Merged
merged 4 commits into from
Jun 10, 2021

Conversation

ketsappi
Copy link
Contributor

@ketsappi ketsappi commented Jun 9, 2021

Description

Adds soft disable support for a Chip. Implementation is mimicked from the Button, where the same functionality exists.

Motivation and Context

Soft disabled Chip was needed for currently in progress component, Combobox (MultiSelect). It enables screenreader users also to "see" selected but disabled Chips in the listing under the input.

How Has This Been Tested?

Locally in styleguidist.

Release notes

@ketsappi ketsappi added the enhancement New feature or request label Jun 9, 2021
@ketsappi ketsappi requested review from aappoalander and LJKaski June 9, 2021 07:33
LJKaski
LJKaski previously approved these changes Jun 9, 2021
Copy link
Collaborator

@LJKaski LJKaski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and seems to be working as it should. Good work :)

@aappoalander
Copy link
Contributor

Looks good, but I would also add a styleguidist example. Use cases where a mandatory selection is indicated with a disabled chip should probably use this feature to work better with screen readers.

@aappoalander
Copy link
Contributor

Looks good and seems to be working with supported setup on MacOS and Android.

@ketsappi ketsappi merged commit 913cb4d into develop Jun 10, 2021
@ketsappi ketsappi deleted the feature/chip_soft-disable_support branch June 10, 2021 07:43
@aappoalander aappoalander mentioned this pull request Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants