Open nikki-lea opened 7 months ago
Apologies for the delay @jcfranco, I met with you regarding this issue and mentioned that I would provide a test server in which the error could be reproduced - it took us a while for our version of calcite to get updated in main to where the error is now reproducible! The test server that you can use is https://etait.esri.com/portal/apps/knowledge-studio/landing, the error should show up on opening any existing project listed. Note to devs: Please ping Nicole Bauer or Emma Tait for creds.
Belated thanks, @nikki-lea!
This issue occurs because tab-title
s are activated during initialization and the tab-nav
has not rendered before the tab-scrolling logic takes place.
This might benefit from https://github.com/Esri/calcite-design-system/issues/10310, so I'd like to propose holding this off until that's landed.
@nikki-lea confirmed that the updated timeline should be fine.
cc @geospatialem, @brittneytewks
Check existing issues
Actual Behavior
Console errors showing up on loading studio project
Expected Behavior
No console errors should appear
Reproduction Sample
Not reproducible outside studio
Reproduction Steps
Reproduction Version
2.7.1
Relevant Info
I confirm the error stops happening if I made the following changes:
tabTitleContainer
on lines 319 & 321 here - https://github.com/Esri/calcite-design-system/blob/main/packages/calcite-components/src/components/tab-nav/tab-nav.tsx#L319containerBounds
is defined in the if statements conditions on line 330 & 337 in the above fileRegression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Calcite package
Esri team
ArcGIS Enterprise