Text superposition
Closed this issue · 2 comments
Thanks for bringing this to my attention.
The expected behavior is that if you click on existing text (not merely inside an existing box but literally on text in the box) then you will be able to edit the text. If you click anywhere else, you will create a new element. If this isn't what you are seeing in your case, please let me know what steps are causing this issue.
There are several ways that text can end up superimposed as shown above. Here's one example:
- Create a 2x2 box
- Type a word on the first line
- Click on the second line
- Type a word
- Click on you word on the first line
- Begin typing more words. These will wrap and become superimposed on the word you already typed in the second line.
Here's an even simpler example:
- Click somewhere and type
- Click to the left of your existing text and type
- You second text item will be superimposed on the first where they overlap
This doesn't look good, but it is also avoidable. My goal with this app was to provide a fairly free-form canvas for boxes, lines, and text. This free-form nature makes the UI simple, but it also means you can create something ugly.
The current implementation makes it simple to create designs with elements placed on top of one another, such as quick UI mockups:
I'm certainly open to ideas on how this can be improved, but from my POV what you are seeing currently is expected behavior, and not a bug. I'm hesitant to make stylistic changes here, as it is entirely possible that some folks are using this behavior in creative ways. For example, one could simulate underlined text using this property. I like to be sure I'm not breaking anyone's work.
yes you are right.
It's not a bug.
Best to keep it like that.