From 01447912426d6bfab8a1bb8604e304a341b54f8d Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 23 Mar 2022 09:10:44 +0100 Subject: [PATCH 1/2] MOBILE-3833 editor: Fix RTE label --- .../editor/components/rich-text-editor/rich-text-editor.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts b/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts index 76e9a1c5b..479933d77 100644 --- a/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts +++ b/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts @@ -215,8 +215,12 @@ export class CoreEditorRichTextEditorComponent implements OnInit, AfterViewInit, return; } - this.labelObserver = new MutationObserver(() => this.ariaLabelledBy = label.getAttribute('id') ?? undefined); + const updateArialabelledBy = () => this.ariaLabelledBy = label.getAttribute('id') ?? undefined; + + this.labelObserver = new MutationObserver(updateArialabelledBy); this.labelObserver.observe(label, { attributes: true, attributeFilter: ['id'] }); + + updateArialabelledBy(); } /** From 7c8e074de1540f2f2a2b0e18353f152556b51a1f Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 23 Mar 2022 09:45:35 +0100 Subject: [PATCH 2/2] MOBILE-3833 core: Avoid tabs shrinking --- src/core/components/tabs/tabs.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/components/tabs/tabs.scss b/src/core/components/tabs/tabs.scss index 4b1ec3b9b..04a50ba1b 100644 --- a/src/core/components/tabs/tabs.scss +++ b/src/core/components/tabs/tabs.scss @@ -23,6 +23,7 @@ border-bottom: 1px solid var(--stroke); display: flex; align-items: flex-end; + flex-shrink: 0; ion-row { width: 100%;