Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically resize text areas (+ text fields that can be multi-line) #713

Open
nikku opened this issue Jul 1, 2022 · 0 comments
Open
Labels
backlog Queued in backlog enhancement New feature or request

Comments

@nikku
Copy link
Member

nikku commented Jul 1, 2022

Is your feature request related to a problem? Please describe

As a user I'm often editing text that may be multi-line (or single line).

I#m struggling to use the properties panel as the text input controls don't work intuitive for me:

  • Text areas are not sized by content but instead fixed to three lines. This is too much for no content, but not enough for any reasonable amount of text
  • Text fields (i.e. Name) can sometimes be multi-line. I'd expect them to be single line per default but expand sensibly on multi-line inputs.

Describe the solution you'd like

Support for automatic resizing:

  • Single line text fields can resize to multi-line fields
  • Text areas can resize (expand) up to a maximum size
  • Intially text area and single line fields render based on the content (up to a certain constraint).

Describe alternatives you've considered

None.

Additional context

I believe we did have a better UX around multi-line fields in bpmn-js-properties-panel@0.x.

Related to bpmn-io/properties-panel#25


The following shows my usual flow of "editing" multi-line text:

capture WE6RXC_optimized

@nikku nikku added the enhancement New feature or request label Jul 1, 2022
@barmac barmac added the backlog Queued in backlog label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog enhancement New feature or request
Development

No branches or pull requests

2 participants