You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to add an overflow menu to a clickable ProductiveCard but also have some overflow menu items be disabled under certain conditions. Since the overflowActions prop in the ProductiveCard component does not have a way to add pass a disabled=true prop to the overflow menu items, I would need to implement this via slug/decorator, but I can’t seem to do that and have the card be clickable.
There are two potential issues/solutions:
The overflowActions prop should also accept a disabled value.
If a card is clickable, the slug component should still be able to be implemented.
Package
Carbon for IBM Products
Description
I wanted to add an overflow menu to a clickable ProductiveCard but also have some overflow menu items be disabled under certain conditions. Since the overflowActions prop in the ProductiveCard component does not have a way to add pass a disabled=true prop to the overflow menu items, I would need to implement this via slug/decorator, but I can’t seem to do that and have the card be clickable.
There are two potential issues/solutions:
Component(s) impacted
ProductiveCard
https://carbon-for-ibm-products.netlify.app/?path=/docs/ibm-products-components-cards-productivecard--docs&args=clickZone:three&globals=viewport:basic
Browser
Chrome
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.52.0
Suggested Severity
None
Product/offering
IBM Security Verify
CodeSandbox or Stackblitz example
https://stackblitz.com/edit/github-jnbrngif-xpjsulqj?file=src%2FExample%2FExample.jsx
Steps to reproduce the issue (if applicable)
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: