Skip to content
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

CCR don't fully load all components on initial load or refresh (f5) #7975

Closed
2 of 4 tasks
arjanvanzutphen opened this issue Oct 11, 2023 · 1 comment
Closed
2 of 4 tasks
Assignees
Labels
4 - verified Issues that have been released and confirmed resolved. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components-react Issues specific to the @esri/calcite-components-react package. Professional Services - Services Delivery Issues logged by Professional Services - Services Delivery team members spike Issues that need quick investigations for time estimations, prioritization, or a quick assessment.

Comments

@arjanvanzutphen
Copy link

arjanvanzutphen commented Oct 11, 2023

Check existing issues

Actual Behavior

Calcite Components in React don't get completely loaded on the initial load. It's mostly icons that are directly not visible.
After saving the right file (containing the components) in VS Code, the page gets refreshed and the application shows all components.

Before (behavior after a f5 refresh):
image
After (behavior after saving the App.jsx in VS Code:
image

Expected Behavior

All components are shown as they should on the initial load.

Reproduction Sample

https://github.com/arjanvanzutphen/ccr-initial-loading-issue

Reproduction Steps

  1. Clone the repo
  2. Open the files in your IDE, I've used VS Code
  3. Run npm install and npm run dev
  4. A browser will show the page at, most likely http://localhost:5173
  5. The banana icon is visible and the slider component is missing the 50 value on it's line.
  6. Hit save (or ctrl+s) in VS Code and the icon becomes visible and the slider gets updated

Reproduction Version

1.9.1

Relevant Info

Edge (117), Chrome (116), Firefox (118)

Regression?

Priority impact

p3 - want for upcoming milestone

Impact

Missing components results in debugging activities where a 'save' of a certain file would suffice, but it's not always clear which file

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/eslint-plugin-calcite-components

Esri team

Professional Services - Services Delivery

@arjanvanzutphen arjanvanzutphen added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Oct 11, 2023
@github-actions github-actions bot added Professional Services - Services Delivery Issues logged by Professional Services - Services Delivery team members p3 - want for upcoming milestone calcite-components-react Issues specific to the @esri/calcite-components-react package. labels Oct 11, 2023
@geospatialem geospatialem added 1 - assigned Issues that are assigned to a sprint and a team member. spike Issues that need quick investigations for time estimations, prioritization, or a quick assessment. and removed 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels Nov 27, 2023
@geospatialem geospatialem added this to the 2023 December Priorities milestone Nov 27, 2023
@geospatialem geospatialem removed their assignment Nov 27, 2023
@DitwanP
Copy link
Contributor

DitwanP commented Nov 29, 2023

@arjanvanzutphen There was a duplicate of this issue created that has reproduction instructions that shows the cause of this behavior. #8143

It looks like you have to make sure to import components from @esri/calcite-components in addition to the react wrappers like the sample on that issue does to mitigate this issue.

@DitwanP DitwanP closed this as completed Nov 29, 2023
@DitwanP DitwanP added 4 - verified Issues that have been released and confirmed resolved. and removed 1 - assigned Issues that are assigned to a sprint and a team member. labels Nov 29, 2023
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 released and confirmed resolved. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components-react Issues specific to the @esri/calcite-components-react package. Professional Services - Services Delivery Issues logged by Professional Services - Services Delivery team members spike Issues that need quick investigations for time estimations, prioritization, or a quick assessment.
Projects
None yet
Development

No branches or pull requests

3 participants