We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d90cbcd commit a686180Copy full SHA for a686180
js/chat/chat.ts
@@ -290,8 +290,10 @@ class ChatContainer extends LightElement {
290
// moves off-screen we know that the text area input is now floating, add shadow.
291
let sentinel = this.querySelector<HTMLElement>(CHAT_INPUT_SENTINEL_TAG);
292
if (!sentinel) {
293
- sentinel = createElement(CHAT_INPUT_SENTINEL_TAG, {}) as HTMLElement;
294
- this.input.insertAdjacentElement("beforebegin", sentinel);
+ sentinel = createElement(CHAT_INPUT_SENTINEL_TAG, {
+ style: "width: 100%; height: 0",
295
+ }) as HTMLElement;
296
+ this.input.insertAdjacentElement("afterend", sentinel);
297
}
298
299
this.inputSentinel = sentinel;
0 commit comments