From 886880a2f0b1ca0bd02b3349f285b97f945c62f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 27 Aug 2019 09:39:17 +0200 Subject: [PATCH] MOBILE-3068 rte: Update toolbar arrows every click --- src/components/rich-text-editor/rich-text-editor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/rich-text-editor/rich-text-editor.ts b/src/components/rich-text-editor/rich-text-editor.ts index 08bf278b3..e9c8bc2b5 100644 --- a/src/components/rich-text-editor/rich-text-editor.ts +++ b/src/components/rich-text-editor/rich-text-editor.ts @@ -585,6 +585,7 @@ export class CoreRichTextEditorComponent implements AfterContentInit, OnDestroy const currentIndex = this.toolbarSlides.getActiveIndex() || 0; this.toolbarSlides.slideTo(currentIndex + this.numToolbarButtons); } + this.updateToolbarArrows(); } /** @@ -597,6 +598,7 @@ export class CoreRichTextEditorComponent implements AfterContentInit, OnDestroy const currentIndex = this.toolbarSlides.getActiveIndex() || 0; this.toolbarSlides.slideTo(currentIndex - this.numToolbarButtons); } + this.updateToolbarArrows(); } /**