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
I guess one of the following actions could be taken:
Hide the close button if the onClick parameter is not present (this might change existing UI, but I guess a button that can't be clicked shouldn't look like a button after all).
Hide the close button if the readOnly parameter is present, however the onClick handler is useless in that case.
Introduce another parameter with which the close button can be hidden
I currently just worked around it by using fundamental-styles directly, however I thought this might be worth fixing, so that's why I opened this ticket (so this is very low priority).
Reproduced with fundamental-react:0.9.0, but it seems the component didn't change much throughout the last few versions.
The text was updated successfully, but these errors were encountered:
The Fundamental Styles Documentation suggests that readonly tokens are supposed to not have a close button, however Fundamental React tokens always have a close button, no matter whether they are readonly or not.
I guess one of the following actions could be taken:
Hide the close button if the onClick parameter is not present (this might change existing UI, but I guess a button that can't be clicked shouldn't look like a button after all).
Hide the close button if the readOnly parameter is present, however the onClick handler is useless in that case.
Introduce another parameter with which the close button can be hidden
I currently just worked around it by using fundamental-styles directly, however I thought this might be worth fixing, so that's why I opened this ticket (so this is very low priority).
Reproduced with fundamental-react:0.9.0, but it seems the component didn't change much throughout the last few versions.
The text was updated successfully, but these errors were encountered: