MOBILE-2795 format-text: Handle show more after a text update
parent
86039d0a58
commit
1c588a214c
|
@ -80,6 +80,7 @@ export class CoreFormatTextDirective implements OnChanges {
|
||||||
*/
|
*/
|
||||||
ngOnChanges(changes: { [name: string]: SimpleChange }): void {
|
ngOnChanges(changes: { [name: string]: SimpleChange }): void {
|
||||||
if (changes.text) {
|
if (changes.text) {
|
||||||
|
this.hideShowMore();
|
||||||
this.formatAndRenderContents();
|
this.formatAndRenderContents();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue