Closed aharbis closed 5 years ago
False dawn, will work for cv-link needs work for other link types.
Update later today.
@aharbis published a canary build (2.12.5-canary.0) to give me a chance to run a few tests. It was not obvious why the previous version failed after an about click so I will run up a sample to test each component affected by this change.
I believe it fixes this issue, but will leave open pending further checks.
I tested briefly against @carbon/vue@2.12.5-canary.0
and that seemed to resolve the issue.
Fixed with 2.12.5 release.
Detailed description
When trying to replace the Vue Router
<router-link>
elements with<cv-link>
elements, the app navigation and routing breaks.Starting with the following nav:
switching to the following breaks:
With the
router-link
elements I can navigate back and forth betweenHome
andAbout
with no problem. After switching these elements out forcv-link
elements, the routing breaks. To elaborate a bit, this is what is rendered on a fresh page load ofHome
:After clicking on
About
the following is rendered:Since the
href
attributes were dropped, the links are inactive. This seems unexpected.Is this a feature request (new component, new icon), a bug, or a general issue?
Bug, I think.
Is this issue related to a specific component?
CvLink
and its use with Vue Router.What did you expect to happen? What happened instead? What would you like to see changed?
<router-link>
elements should be able to be replaced with<cv-link>
elements without issues.What browser are you working in?
Chrome (
Version 76.0.3809.87 (Official Build) (64-bit)
)What version of the Carbon Design System are you using?