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

Filter tag fires click event when disabled #4791

Closed
1 of 2 tasks
emyarod opened this issue Nov 28, 2019 · 0 comments · Fixed by #4792
Closed
1 of 2 tasks

Filter tag fires click event when disabled #4791

emyarod opened this issue Nov 28, 2019 · 0 comments · Fixed by #4792

Comments

@emyarod
Copy link
Member

emyarod commented Nov 28, 2019

What package(s) are you using?

  • carbon-components
  • carbon-components-react

Detailed description

When clicking on the filter tag close icon, the onclick event is still dispatched even if the component is disabled

Is this issue related to a specific component?

filter tag

What did you expect to happen? What happened instead? What would you like to
see changed?

the click event should not propagate from the disabled filter tag

Steps to reproduce the issue

  1. view the filter tag story
  2. disabled the component
  3. click on the component and view the story actions panel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants