Druid: TextBox doesn't reset position after unfocused

Created on 11 Aug 2020  路  6Comments  路  Source: linebender/druid

Within the same example from #1124 I've found yet another problem.

If we type more text than there's space for in the first TextBox, the text starts shifting. If we switch to another TextBox and start deleting from the beginning, the weird shift starts showing.
image
In my opinion the text's position should reset when unfocused, at least that's how most of the other applications do it.

EDIT:

This is what happens, when there's no text and only hints remain.
image

bug widget

All 6 comments

Thanks, will keep an eye open for this when I start redoing text stuff in druid (shortly)

Thanks, will keep an eye open for this when I start redoing text stuff in druid (shortly)

You're welcome and thanks for working on it 馃槈

I think this is really a dupe of your previous issue? As in this describes the problem, and the other issue is capturing aa symptom of that. I would close one of them, maybe the other one?

I wouldn't say it's a dupe, as they describe two different problems, which are both connected to TextBoxes.
If you want to close any of them, feel free to do so.
If I had a say, I'd leave the first one, as it has a MinimalRunnableExample attached.

I think they describe different manifestations of the same problem? If a textbox deselects its contents when it loses focus, (this issue) then that fixes the problem of multiple textboxes having selections simultaneously?

You are indeed correct.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cmyr picture cmyr  路  6Comments

mrandri19 picture mrandri19  路  4Comments

cmyr picture cmyr  路  3Comments

MGlolenstine picture MGlolenstine  路  3Comments

bheisler picture bheisler  路  5Comments