You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Let's say we have tab group A and tab group B. Tab group B is inside A's tab panel. Switching panel in B makes A's tab panel disappear. After going inside the same A's tab panel through a tab, we can see that the panel in B has switched correctly.
To Reproduce
Steps to reproduce the behavior:
Create sl-tab-group with appropriate sl-tab and sl-tab-panel components,
Put another sl-tab-group with it's children inside previous' group sl-tab-panel,
While on the page, change tabs in the nested sl-tab-group.
Outer's sl-tab-group panels disappear and an error appears in the console:
Uncaught TypeError: Cannot read property 'clientWidth' of undefined
at b.syncActiveTabIndicator (p-3c2cff2d.entry.js:1)
at b.setActiveTab (p-3c2cff2d.entry.js:1)
at b.handleClick (p-3c2cff2d.entry.js:1)
Expected behavior
Panels switch in the nested sl-tab-group without making the whole panel disappear.
Screenshots
Before clicking the tab:
After clicking the tab:
Error message:
Desktop (please complete the following information):
OS: Ubuntu 20.04.1 LTS
Browser Chrome
Version 87.0.4280.88
The text was updated successfully, but these errors were encountered:
Describe the bug
Let's say we have tab group A and tab group B. Tab group B is inside A's tab panel. Switching panel in B makes A's tab panel disappear. After going inside the same A's tab panel through a tab, we can see that the panel in B has switched correctly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Panels switch in the nested sl-tab-group without making the whole panel disappear.
Screenshots
![image](https://user-images.githubusercontent.com/17381108/103640253-f5378800-4f4f-11eb-8806-b965f03bbcaf.png)
![image](https://user-images.githubusercontent.com/17381108/103640286-0a141b80-4f50-11eb-86c9-7d1183af0d4b.png)
![image](https://user-images.githubusercontent.com/17381108/103640328-18623780-4f50-11eb-9888-403dd5c04905.png)
Before clicking the tab:
After clicking the tab:
Error message:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: