Closed
Description
Describe the bug
Button should stay at either error
or success
state unless the backing state is modified. It should not return on the idle state (ui-wise) automatically if the state does not reflect.
To Reproduce
Steps to reproduce the behavior:
- Set the state to either
error
orsuccess
Expected behavior
It should stay in its set state and not automatically go to idle even if it is just ui-wise.
Smartphone (please complete the following information):
- All
Additional context
This makes the library so opinionated and does not give the developer flexibility. It is also a common anti-pattern with declarative style ui to have a side-effect when state is changed. This kind of behavior also will not conform to single source of truth, and will cause the library to have unexpected behaviors.
Metadata
Metadata
Assignees
Labels
No labels