panes
panes copied to clipboard
[BUG] Switching pane adds the same classes
Describe the bug If you switch pane (present(), destroy()) several times, then the same classes are added, which hinders customization
To Reproduce Steps to reproduce the behavior:
- Go to https://output.jsbin.com/fuhisey
- Click on "Destroy drawer" and "Present drawer" repeatedly
- Find pane element in console and find styles
- See error
Expected behavior Remove classes on destroy()
Screenshots
Desktop (please complete the following information):
- OS: macOs
- Browser: Chrome(92), Mozilla(102)