Closed KaranKapoorIon closed 4 years ago
@trimox I downloaded your 'angular-mdc' example (stackblitz wasn't rendering mdc correctly), tried to replicate it locally, but failed. As I've mentioned in the description. this.tabScroller seems to be null when trying to set align. Would you happen to know what I'm doing wrong here?
Edit: Corrected spelling mistake.
@trimox Found the issue. It happens when enableIvy is set to true under tsconfig.json
@KaranKapoorIon Thanks for reporting this. If you could retry, but this time install the canary tag for upcoming v6.0.0 release.
yarn add @angular-mdc/web@canary
# or
npm i @angular-mdc/web@canary
@trimox Just tried it. The issue still persists.
@KaranKapoorIon Thank you for testing v6 canary with this. I'll try to duplicate.
Duplicated.
Describe the bug Setting the align property on an mdc-tab-bar throws an exception which causes the control to not render.
To Reproduce Steps to reproduce the behavior:
tab-bar.js - Exception is thrown because this.tabScroller is undefined
Expected behavior The tab bar should render with the tabs centered.
What Angular MDC version are you using? 5.1.1
What OS are you using?: Windows Server 2012
What browser(s) is this bug affecting?: Chrome