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
React Router setup with HeroUIProvider (navigation and href); try relative links. I have a complex setup I can demonstrate on a screenshare if necessary.
Expected behavior
Relative links work
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered:
HeroUI Version
2.6.13
Describe the bug
This is my current theory as to why my links in RR with useHref are not working:
heroui/packages/components/link/src/use-link.ts
Line 113 in cddba82
This can be seen as the relative link is "bare" (ie does not have the rest of the route path that a plain useHref locally would show)
ie const href = useHref("blogs") would return '1/blogs' in my case, but stays as "blogs" in the element href
This breaks all relative link navigations for me.
Your Example Website or App
https://stackblitz.com/edit/wfdcu9f2
Steps to Reproduce the Bug or Issue
React Router setup with HeroUIProvider (navigation and href); try relative links. I have a complex setup I can demonstrate on a screenshare if necessary.
Expected behavior
Relative links work
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: