-
Notifications
You must be signed in to change notification settings - Fork 305
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
isDisabled not working in Breadcrumbs.Item alongside Breadcrums.Link #4776
Comments
Hi @regularpersonn thanks for raising this. Could you clarify exactly what the desired behavior is, e.g. are you thinking the |
Yeah. My use case is I want the breadcrumbs to only function when the previous one has met the correct condition, as each one allows a selection that builds upon the previous one. |
We're working on a fix for this, and I'll update you when we get that released. In the meantime you can add disabled styling to the breadcrumbs item using css. If you do something like this you can add
|
@regularpersonn sorry for the churn on this. Discussed this further with the team, and it doesn't make sense to support I know the props tab for Breadcrumbs currently lists |
That’s fair enough. Thanks! |
We're closing out this feature request ticket as we don't plan on supporting this in Breadcrumbs due to the reasons mentioned above. Please open another ticket if you have further questions on use of Breadcrumbs components. |
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Primitive components
How is your app built?
Create React
What browsers are you seeing the problem on?
Chrome, Safari
Which region are you seeing the problem in?
No response
Please describe your bug.
isDisabled flag is not being respected despite confirming that the framework is rendering <a disabled... component in HTML.
What's the expected behaviour?
Breadcrumb item should be disabled when isDisabled is true for either Item or Link
Help us reproduce the bug!
Can be reproduced by using the provided code snippet (note I am even hard coding true and it doesn't disable the link).
Code Snippet
Console log output
No response
Additional information and screenshots
The text was updated successfully, but these errors were encountered: