Skip to content

Conversation

@jonathannewman
Copy link

If the tab is already selected, there is no reason to call "onSelect" This changes the logic for the callback to avoid calling if the tab is selected. The tests were updated to agree with that expected behavior.

If the tab is already selected, there is no reason to call "onSelect"
This changes the logic for the callback to avoid calling if the
tab is selected. The tests were updated to agree with that expected
behavior.
@jonathannewman jonathannewman requested a review from a team as a code owner June 13, 2025 18:09
@jonathannewman
Copy link
Author

@Lukeaber This fixes that issue I mentioned.

@jonathannewman jonathannewman merged commit eda2b42 into puppetlabs:main Jun 16, 2025
11 checks passed
@jonathannewman jonathannewman deleted the maint/main/avoid-unexpected-selection-updates branch June 16, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants