-
Notifications
You must be signed in to change notification settings - Fork 80
[Bug] tab-nav: selectedTitle
property has incorrect value when calciteTabChange
event is emitted
#6299
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
Labels
4 - verified
Issues that have been tested, confirmed as mitigated, and are ready to close.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
estimate - 5
A few days of work, definitely requires updates to tests.
has workaround
Issues have a workaround available in the meantime.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Comments
selectedTitle
property has incorrect value when calciteTabChange
event is emitted selectedTitle
property has incorrect value when calciteTabChange
event is emitted
selectedTitle
property has incorrect value when calciteTabChange
event is emitted selectedTitle
property has incorrect value when calciteTabChange
event is emitted
This also came up with members of the JS team, and adding a higher priority with a few pings on this issue for issue triaging. Workaround: https://codepen.io/geospatialem/pen/gOdBzXx |
Related:#6362 |
Reallocated to the upcoming May milestone. |
This issue is caused by different parts in the tab-selection workflow being both synchronous and asynchronous:
|
Installed and assigned for verification. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4 - verified
Issues that have been tested, confirmed as mitigated, and are ready to close.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
estimate - 5
A few days of work, definitely requires updates to tests.
has workaround
Issues have a workaround available in the meantime.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Uh oh!
There was an error while loading. Please reload this page.
Actual Behavior
When the calciteTabChange event is emitted, the selectedTitle property does not correctly reflect the currently selected calcite-tab-title.

Expected Behavior
When the calciteTabChange event is emitted, the selectedTitle property should reflect the currently selected calcite-tab-title.
Reproduction Sample
https://codepen.io/jmanke/pen/NWBayKv?editors=1011
Reproduction Steps
calicte-tab-title
calcite-tab-title
will be the value ofselectedTitle
. See JS code for more details.Reproduction Version
next.726
Relevant Info
Chrome 108
Regression?
No response
Impact
Low
Workaround is to use the calciteTabsActivate event on the calcite-tab-title.
Esri team
ArcGIS Dashboard
The text was updated successfully, but these errors were encountered: