react-rough-notation icon indicating copy to clipboard operation
react-rough-notation copied to clipboard

Not rendering using view transitions API

Open linkstrifer opened this issue 10 months ago • 0 comments

Don't know if this one's related, but I encountered a problem of rough-notation not redrawing after view transition in Astro.

Here's the example: link. Rough notation underscores etc. appear only the first time a post is viewed.

  1. View a post.
  2. Go to Posts list.
  3. View the post again.

The issue is related to view transitions. If we remove view transitions (remove <ViewTransition /> in the meta.astro) the page reloads each time a link is clicked, and everything works. I also tried redrawing rough-notation elements, but it does not seem to work.

Any ideas how to approach the issue?

Edit: Here's the repo with code: https://github.com/thinkininfinity/astro-theme-mia

Originally posted by @bogdankjastrzebski in #6

linkstrifer avatar Mar 17 '25 17:03 linkstrifer