scania-digital-design-system/sdds

Bug - React demo, <a href warning

Closed this issue · 1 comments

Describe the bug
-- On line 38 in components/main/Main.js, the "a" element doesn't href to anything, and React doesnt like that. If a dummy link
is set with href=, like "/" or "/#", the disabled breadcrumb doesn't get "disabled", and becomes clickable.

To Reproduce
-- Pull down the project
-- Initiate the project
-- npm start
-- Open file components/main/Main.js

Screenshots
image
image

Framework and version
-- Framework: React

AB#719

This is a uncommon case, when you use a breadcrumb you have a flow in the application.

For example audio > headset > wireless headset. Then the application will have its own way for navigating. This is not something from the component

I will close this issue