Skip to content
Snippets Groups Projects
Unverified Commit b50880c7 authored by Conrad Zelck's avatar Conrad Zelck
Browse files

fix: make #input a div instead of textarea


Use a div with attribute:
 - contenteditable="true"

It fixes a lot of issues:
 - height of #input needs no javascript to adapt to content
 - therefor no complex styles are needed
 - width will no longer exceed the given width by grid-template-column
 - styling etc. can be handled like the #output div next to it

You have to set two attributes for a11y:
 - role="textbox"
 - aria-multiline="true"

Signed-off-by: default avatarConrad Zelck <git@simpel.cc>
parent 0389a5c4
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment