Skip to content

Fix(republish button): made republish button disabled when clicked

Pankaj Kandpal requested to merge fix/republish-button-opacity into main

Since we are using ActionButton on the republishing in Elife, it treats the disabling action differently in color scheme as compared to the Button component. I avoided making any style changes to the button component, to avoid impact at other areas. Instead, using the disabled attribute when a button is clicked seemed to be appropriate to me for giving a UX message to user that they have performed an action, and it is under progress, hence implemented the same. This is how it is now coming up Before click image

After click Screenshot_2022-08-07_at_11.24.50_PM

Merge request reports