jarek-foksa / xel

Xel - Widget toolkit for building native-like Electron and Web apps
https://xel-toolkit.org
Other
679 stars 58 forks source link

<x-taginput>'s visual bug #72

Open ByK95 opened 6 years ago

ByK95 commented 6 years ago

xel-taginput-visual-bug

I am not sure if this type of behavior wanted.So just leaving it here :grin:

jarek-foksa commented 6 years ago

This doesn't look right to me. When the text is too long to fit inside the widget then it should be trimmed with an ellipsis or split into multiple lines. Maybe word-break: break-all will fix it.

ByK95 commented 6 years ago

with-word-break In this picture word-break: break-all added to "x-taginput"s css tho it fixes first problem there is still second exist while tag is still being edited. while-editing

jarek-foksa commented 3 years ago

This widget will have to be reimplemented from scratch as there are way too many issues with it. For example it is not possible to move the cursor between tags. I published an initial draft of the new version on https://gist.github.com/jarek-foksa/cc03430493f2ed0a292d19218eda92ae