Skip to content

[BUG] Notification loses configuration when using <ClientRouter /> #35

@ismaelLazcano

Description

@ismaelLazcano

Description

I'm really enjoying Sileo, but I encountered an issue when using it with Astro + React. When navigating between pages using , triggering a notification causes the layout configuration to break.
The notification does not respect the configured position or styling and instead appears in a default/unexpected position.

Steps to reproduce

  1. Use Astro + React with
  2. Navigate to another page without a full reload
  3. Trigger a notification
  4. Observe the notification position and layout

###** Expected behavior**
The notification should maintain its configured position and styling regardless of client-side navigation.

Additional context

  • The issue only happens after the first client-side navigation.
  • After a full page reload, the notification behaves correctly.
  • This suggests the configuration may not be reinitialized properly after navigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions