3 ms·
I’m generally not a fan of this design pattern. If an action is required before the button is applicable, consider disabling it instead of hiding it, or—even be
by runarberg 4y ago
I’m generally not a fan of this design pattern. If an action is required before the button is applicable, consider disabling it instead of hiding it, or—even better—allow clicking it and simply guide the user to the required action (e.g. focus the required element and show and error message under it; maybe shake it a little if you‘re up to it).