toastification icon indicating copy to clipboard operation
toastification copied to clipboard

Add max lines for title and message

Open payam-zahedi opened this issue 9 months ago • 1 comments

Describe the bug It would be better for the UX to have a default max lines for title and description fields

Its better to have the default max lines with elips effect

2 lines would be enough

Screenshots If applicable, add screenshots to help explain your problem.

image

payam-zahedi avatar May 07 '24 12:05 payam-zahedi

Hope to follow up on this issue, thank you https://github.com/payam-zahedi/toastification/issues/101

laterdayi avatar May 08 '24 01:05 laterdayi

Hello! Why not use this as a parameter?

DevTekoa avatar Sep 25 '24 20:09 DevTekoa

Hello @DevTekoa,

Just to clarify, you can already control the maxLines parameter through the Text widgets that are being passed to the title and description fields. Given this functionality, introducing an additional parameter for line limits may not be necessary.

payam-zahedi avatar Sep 26 '24 07:09 payam-zahedi