-
Notifications
You must be signed in to change notification settings - Fork 79
fix(tabs): handle tab close events that remove the associated tab-title and tab elements from the DOM #9768
New issue
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
Merged
Merged
Changes from 24 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
1b883db
fix(tabs): fix closing behavior when tabs are removed from the DOM
eriklharper 33a7897
Merge branch 'dev' of github.com:Esri/calcite-design-system into erik…
eriklharper f5bb30c
moving lifecycle members to the bottom of the tabs file
eriklharper 7ae928b
refactoring tab-nav's slotchange handler to use slotChangeGetAssigned…
eriklharper 04dcc8d
Refactoring registryHandler to query for the default slot element's a…
eriklharper 2baeda4
adding tab identifier logs for debugging
eriklharper 8b61305
relocating selectedTitle and selectedTabId watchers to be adjacent to…
eriklharper 575dfb6
removing unused internalTabRegister event
eriklharper a8a08e8
removing logs
eriklharper 69e59fd
emitting internalTabChange event from selectedTitle watcher for now t…
eriklharper 361eb54
remove redundant setting of selectedTitle from inside the selectedTab…
eriklharper 73db0ff
removing comment
eriklharper e812bbd
reverting tab-title change no longer needed
eriklharper a4df2e7
fixing highlight selected title on initial load
eriklharper 59a7d64
Merge branch 'dev' of github.com:Esri/calcite-design-system into erik…
eriklharper 45ce9dd
Merge branch 'dev' of github.com:Esri/calcite-design-system into erik…
eriklharper 4d92c18
removing select-none
eriklharper 9b1a53c
Merge branch 'eriklharper/7155-closable-tab-bug' of github.com:Esri/c…
eriklharper 58384cd
adding dom removal test
eriklharper e00a764
adding closable tabs to demo page
eriklharper a001a0a
Merge branch 'eriklharper/7155-closable-tab-bug' of github.com:Esri/c…
eriklharper 3e7f77b
Merge branch 'dev' of github.com:Esri/calcite-design-system into erik…
eriklharper 1a023c5
Merge branch 'dev' of github.com:Esri/calcite-design-system into erik…
eriklharper cfb1626
component types
eriklharper 81268fd
refactored new dom utils to use a css matches selector instead of jus…
eriklharper 91f7cbb
stop propagating new slot change event
eriklharper a8dbcdb
renaming registryHandler to updateAriaSettings
eriklharper c27ccf1
removing need to data-name attributes in e2e test
eriklharper ce4c4ee
replacing mutation observer logic with slot change handler
eriklharper 568bd7b
Merge branch 'dev' into eriklharper/7155-closable-tab-bug
eriklharper 3243cf9
updating to use generic types where possible
eriklharper d8b524b
renaming function
eriklharper 2110d0a
Merge branch 'dev' of github.com:Esri/calcite-design-system into erik…
eriklharper 3db06f4
adding spec unit tests for getSlotAssignedElements
eriklharper 376dd40
Merge branch 'dev' into eriklharper/7155-closable-tab-bug
eriklharper 5afaf2e
adding one more test for empty results
eriklharper File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.