DIM icon indicating copy to clipboard operation
DIM copied to clipboard

Automatically resize the loadout notes textarea

Open insin opened this issue 2 years ago • 1 comments

Proposed change

It's difficult to add and edit detailed loadout notes as only the first line of the <textarea> is visible. Automatically resizing the notes textarea would make it easier.

I already have a proof of concept working here, but would need to talk about how a final version should work (e.g. should there be a max height? does it need to behave differently on desktop and mobile?):

https://github.com/DestinyItemManager/DIM/compare/master...insin:DIM:autosize-loadout-notes-textarea?expand=1

firefox_Ay0Ch0YYbj

How does this fit into your workflow?

I like to write detailed notes about how a loadout works and how you should use it when creating loadouts to share, this would make it easier to write and edit the notes directly in DIM.

insin avatar Aug 18 '22 12:08 insin

Sure, that'd be nice, with a max height.

bhollis avatar Aug 27 '22 02:08 bhollis