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
Semantically this is correct since Links (anchor tags) don't technically have a disabled state. However, you're using these as buttons but just styled as inline links. I'll add this to discuss this week.
Valid point, maybe EuiLink shouldn't accept a disabled prop at all. The use case of disabling a button looking like a link is questionable - maybe the whole UI should look different then.
We discussed this in our weekly and have decided that if disabled is passed to an EuiLink (which it inherits the prop from the default properties of <button>) then we will just remove the link coloring and hover states to make it blend into (inherit the color of) the text surrounding it.
A
<EuiLink onClick={...} disabled ... />
is styled exactly as a regularEuiLink
. Also, the cursor is still a pointer.Example:
Maybe this is intentional, but it feels like the link should visually reflect somehow that it can't be clicked right now.
The text was updated successfully, but these errors were encountered: