You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are working in production and research shows that users are frequently sending information twice, you can configure the button to ignore the second click.
To do this, set the data-prevent-double-click attribute to true.
However it also says:
In the case of slow connections, aim to give the user information about what’s happening, for example, by showing a loading spinner or a modal, before using data-prevent-double-click.
So we shouldn't expect it to be set on every button. Instead, it could be opt-in?
The Design System guidance for buttons says:
However it also says:
So we shouldn't expect it to be set on every button. Instead, it could be opt-in?
cc @peteryates @paulrobertlloyd
The text was updated successfully, but these errors were encountered: