Skip to content

bug: JS components stop working once Astro View transitions are enabled #82

@bamanczak

Description

@bamanczak

What version of FlyonUI are you using?

2.0.0

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

https://codesandbox.io/p/github/bamanczak/flyonui-astro-integration/main?import=true

Describe your issue

Steps to reproduce

  1. Enable view Transitions (https://docs.astro.build/en/guides/view-transitions/) in Flyonui + astro starter (https://github.com/themeselection/flyonui-astro-integration)
  2. npm run dev
  3. Open localhost
  4. Switch pages

Actual result
On first page view all components work as expected
once I navigate to a different page, JS components stop working

Expected results
everything works always :)

Visible in codesandbox: https://codesandbox.io/p/github/bamanczak/flyonui-astro-integration/main?import=true
Based on fork with just 1 commit ahead of the original main https://github.com/bamanczak/flyonui-astro-integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions