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
{{ message }}
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
It is necessary to ensure that Button's content other than string will be truncated for Button. Main case that drives this necessity is properly displaying Button's text in RTL mode, which requires Button's content to be wrapped in .
Steps
Use the following code to repro the problem:
<Buttoncontent={<spandir="auto">See how this very long text shows up on the button</span>}/>
Expected Result
Content that is wrapped in, say, element should be truncated as well. Note that element might be necessary to properly support RTL mode by button context, where content text is necessary to be wrapped by .
Actual Result
Currently truncate styles are applied to string content only.
Bug Report
It is necessary to ensure that
Button's content other than string will be truncated forButton. Main case that drives this necessity is properly displayingButton's text in RTL mode, which requiresButton's content to be wrapped in .Steps
Use the following code to repro the problem:
Expected Result
Content that is wrapped in, say, element should be truncated as well. Note that element might be necessary to properly support RTL mode by button context, where content text is necessary to be wrapped by .
Actual Result
Currently truncate styles are applied to string content only.
Version
0.12.0