From 8aba3571fc0bf43b46622c00e3b46becd6c86f2d Mon Sep 17 00:00:00 2001 From: Lucy Chyzhova Date: Tue, 10 Dec 2024 13:39:59 +0100 Subject: [PATCH] fix(text-editor): don't show placeholder when composer is active --- src/components/text-editor/text-editor.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/text-editor/text-editor.scss b/src/components/text-editor/text-editor.scss index 84a1b539b2..a5f56501f7 100644 --- a/src/components/text-editor/text-editor.scss +++ b/src/components/text-editor/text-editor.scss @@ -72,6 +72,13 @@ --limel-text-editor-outline-color: #{shared_input-select-picker.$lime-text-field-outline-color--focused}; } +:host(limel-text-editor:focus-within), +:host(limel-text-editor:focus) { + .placeholder { + opacity: 0; + } +} + :host(limel-text-editor[disabled]:not([disabled='false'])) { @include shared_input-select-picker.looks-disabled;