-
Hey team! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @pguptaDS I've cover the constraint first and then the options. When a button is disabled (or any UI control for that matter) everything about it is rendered unusable. That includes focusing, hovering, and clicking on it. As a result you can't add a tooltip (or anything interactive) to a disabled UI control. Some options to consider for this use case include:
These are in order of "heavy" treatments, adding a modal being the heaviest and most costly in terms of effort. Personal preference is to just remove the button entirely, unless user testing strongly suggests its absence is a source of massive, unprompted confusion. |
Beta Was this translation helpful? Give feedback.
-
Yes agreed that the best solution here is to remove the button entirely. However, the team is working under some other constraints as well so this won't be possible (yet). I think the modal will work best in our use case all things considered. Thanks @SiTaggart for a detailed response! |
Beta Was this translation helpful? Give feedback.
Hi @pguptaDS
I've cover the constraint first and then the options.
When a button is disabled (or any UI control for that matter) everything about it is rendered unusable. That includes focusing, hovering, and clicking on it. As a result you can't add a tooltip (or anything interactive) to a disabled UI control.
Some options to consider for this use case include: