These are chat archives for angular/material

10th
May 2018
Roel
@roelzkie15
May 10 2018 04:42
Why is mat-tab is breaking 3rd party component libraries when placed inside its content??
Russel Porosky
@metaloha
May 10 2018 14:27
@badcoder28 Like which ones have you noticed?
Roel
@roelzkie15
May 10 2018 14:59
@metaloha like rich text editors quilljs and tinymce and fortunately i was able to solve it by lazy loading the tab and it force me to upgrade to angularv6 though
Russel Porosky
@metaloha
May 10 2018 19:29
Some of those libs require a visible element in order to work (usually to get size information), and if the tab is hidden, the context won't be valid (Google Maps is the same way). Once the tab content area is made visible, you can initialize the 3rd-party lib and it will use the element properly. Or lazy-load the content :) Same effect