Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Astro — Tooltips not working alongside the new Astro ViewTransitions #91

Open
danielpmalagon opened this issue Jan 1, 2024 · 2 comments

Comments

@danielpmalagon
Copy link

I noticed the module is failing to initialize tippy.js after navigating to a new page while using ViewTransitions. Is there any hope about get this feature in the future?

@eybarta
Copy link

eybarta commented Feb 6, 2024

I've just ran into the same issue..
@JulianCataldo any plans on fixing this? or do you accept PR's?

Should be pretty easy fix, here's a diff of a library (astro-navbar) that fixed this issue in the past:
https://github.com/surjithctly/astro-navbar/pull/16/files#diff-b8560bde4a92e36627d48f8ff53ec22212b9a7f2a27388ff7e20bb3dae2afe01

@blopker
Copy link

blopker commented May 21, 2024

I ran into this as well. It turns out integrating Tippy with Astro is actually pretty easy. I wrote up a tutorial here: https://blopker.com/blog/astro-and-tippy/. No plugins required, and you get full control over Tippy. This also works in the ViewTransitions world.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants