fkhadra / fkhadra/react-toastify
Stacked: add functionality to toggle stacked toasts
- Dominant language
- TypeScript
- Stars
- 13.4k
- Forks
- 741
- PR merge metrics
- No merged PRs in 30d
Description
**Do you want to request a *feature* or report a *bug*?**
feature
**What is the current behavior?**
On mobile devices you need to touch outside of the toasts, but it would be useful to have a way to programatically toggle from collapsed to extended and vice-versa. For example when the view is full of toasts and I want to use the toast header click as a way to toggle collapse.
**What is the expected behavior?**
One way could be to have a function that would toggle the collapsed state
Contributor guide
Research direction
Start by locating the stacked-toast implementation and the public API used to control toast state. Review how mobile interaction currently changes the collapsed state, then define and test a programmatic toggle whose completion criterion is switching between collapsed and extended layouts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100