stable

Clone or download

Read-only

Fix "autogrow" of textarea

When we erase the content of the textarea, or if we insert a newline, then the textarea should still adapt to its content and should not grow outside of the card. Previous mirror version were wrong because: * the newline characters is trimmed in the <pre> element * empty text in <pre> element produce an empty element therefore the height computation was wrong in those situations. Part of: story #13629: Update the title semantic of a card Change-Id: I00785626269ae399d2f60a1b0aaaad21816a82ed

Modified Files

Name
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/EditMode/Label/EditLabel.vue +13 −7 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/EditMode/Label/__snapshots__/EditLabel.test.ts.snap +4 −5 Go to diff View file
M plugins/taskboard/themes/includes/_card-edit.scss +4 −10 Go to diff View file