We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tab component is not working on ie11. When you use sm-tab, all tabs are shown and no hide/show functionality is working.
The text was updated successfully, but these errors were encountered:
I found the solution:
The original code is:
ngAfterViewInit() { this.tabEl.nativeElement.parentElement.classList.add("ui", "tab", "bottom", "attached", "segment"); if (this.active) { this.tabEl.nativeElement.parentElement.classList.add("active"); } }
The problem is that ie11 doesn't add all those classes to the element, so the solution was to include all classes one by one:
this.tabEl.nativeElement.parentElement.classList.add('ui'); this.tabEl.nativeElement.parentElement.classList.add('tab'); this.tabEl.nativeElement.parentElement.classList.add('bottom'); this.tabEl.nativeElement.parentElement.classList.add('attached'); this.tabEl.nativeElement.parentElement.classList.add('segment');
And now is working perfectly :)
Regards!
Sorry, something went wrong.
No branches or pull requests
tab component is not working on ie11. When you use sm-tab, all tabs are shown and no hide/show functionality is working.
The text was updated successfully, but these errors were encountered: