Actual Behavior:
What is the issue? *What is the expected behavior?CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:Details:Angular Versions: *
Angular Version:Angular Material Version:Browser Type: *Browser Version: *OS: *Stack Traces:BTW, a workaround fix for this issue is to programatically trigger the window.onresize event by adding the line
window.dispatchEvent(new Event('resize'));
every time a resize is done via the script.
I can reproduce this in 1.1.21 in this updated CodePen. However, I think that this is something that the component does not support (and may cause some performance concerns) at this time rather than it being a defect. We would certainly accept a PR that added this enhancement to md-tabs as long as we could verify that it doesn't cause any significant performance degradation.
Most helpful comment
BTW, a workaround fix for this issue is to programatically trigger the window.onresize event by adding the line
window.dispatchEvent(new Event('resize'));every time a resize is done via the script.