Skip to content

UserDialogUserEmail text overflow #3946

Discussion options

You must be logged in to vote

Hey @rmatuszczakp, great catch on this. This components wraps correctly when there are word breaks as expected but for an email field it would not be expected there would ever be a break.

My suggestion would be to use our Truncate component. Your code would look something like this:

<UserDialogUserEmail>
            <Truncate title="[email protected]">[email protected]</Truncate>
</UserDialogUserEmail>

The outcome would be:

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@btjfsu
Comment options

Answer selected by serifluous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants