-
Notifications
You must be signed in to change notification settings - Fork 815
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tabbed content): prevent duplicate ids error
Fixes #5215 where removing then adding a pane could crash with a `DuplicateIds` exception. Rather than assigning the ID based on the *current* tab count, this adds a `_cumulative_tab_count` to ensure added panes have a unique ID.
- Loading branch information
1 parent
a3fee68
commit c9c56bb
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters