Link : either tooltips or Next.js' useLinkStatus() ? #9038
Unanswered
janvorwerk
asked this question in
Q&A
Replies: 1 comment
-
See Custom Trigger for another option to try. Also check out Client Side Routing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am writing a Next.js app where I picked React Aria
Link
component so that it can show React Aria tooltips… however, this prevents useLinkStatus() from working.So apparently, I need to choose between:
Is there any way I could merge both behaviors? (not to mention other Next.js Link behaviors such as prefetch etc…). Ideally, I'd like to see the tooltip work on the regular Next.js Link but I am unsure what makes them work on React Aria Links.
Looking at the source code, or at the DOM, I cannot see what makes "React Aria Link so special" for ToolTips to appear…
Many thanks in advance 🙏
Beta Was this translation helpful? Give feedback.
All reactions