cthit / cthit/chalmers.it

Toasts disappear when some forms are submitted

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
bug interface
Dominant language
TypeScript
Stars
5
Forks
5
Avg merge
6h 45m
Merged PRs (30d)
3

Description

### 📝 Describe the bug

When page forms are submitted, you will get toast message reporting success or failure. If it succeeds, you will likely be redirected. In some cases, this reloads the page you are on or redirects to a page with a different layout, clearing the toast.

### 🔄 To Reproduce

1. Go to a settings page
2. Add something that would reload the page
3. See how the toast disappears soon after submitting

### 📷 Screenshots

_No response_

### 💡 Additional context

This issue is likely due to two things:
1. Some forms reload the entire page when submitted
2. There exists multiple layouts with multiple toast wrappers that override each other

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.