Files
DroidDeck/app
DeathKhanandmaxjivi05 8cfe19cd13 fix(apps): B in the folder name field saves the name and returns to the title (#2534)
* fix(apps): B in the folder name field saves the name and returns to the title

With a controller, B in the folder name field only hid the keyboard and left
focus in the field. The field now takes B as its way out: the keyboard goes,
the name is saved and focus lands on the folder title. AdbTextField gets an
optional onBack for this; fields without it behave as before.

* fix(apps): closing the bottom-screen keyboard also leaves the folder name field

With typing on the bottom screen, B is handled there and only cleared focus,
so the folder name was not saved. A field with onBack now leaves through it
on that path too.

* fix(apps): the folder sheet hands B to the name field while renaming

The sheet's own B handler sits above the name field and could take the press
first, closing the folder. While the name is being edited the sheet now treats
B as leaving the field: the keyboard goes, the name is saved and focus lands
on the title.

* chore: drop the added comments

* Return focus to the folder title once the frame settles after renaming

* Only let the active typing request close the field

---------

Co-authored-by: maxjivi05 <maxjividen@gmail.com>
2026-11-18 13:13:04 -05:00
..