Missing placeholder text in compose area when deleting multiple lines
threema-danilo opened this issue · 1 comments
threema-danilo commented
Bug Description
Sometimes the compose doesn't show a placeholder text even though it's empty.
Steps to Reproduce (for bugs)
Firefox:
- Type "a<shift+enter>b"
- Press ctrl+a to select all text
- Press ctrl+x to cut text
Chromium:
- Type "a<shift+enter>b"
- Press ctrl+a to select all text
- Press ctrl+x to cut text
- Paste text, and repeat steps 2 and 3
In both situations, the contenteditable div now contains a single <br>
which prevents the placeholder from showing up.
Your Environment
- Threema Web version: 2.5.3
- Browser name and version: Firefox 124.0.1 / Chromium 123
- Computer operating system and version: Arch Linux
threema-danilo commented
Seems like this fix stopped working:
threema-web/src/directives/compose_area.ts
Lines 347 to 352 in 82c83c6