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

Storybook: props don't update when using in-page navigation #1543

Open
acmertz opened this issue Jun 20, 2023 · 0 comments
Open

Storybook: props don't update when using in-page navigation #1543

acmertz opened this issue Jun 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@acmertz
Copy link
Contributor

acmertz commented Jun 20, 2023

Bug summary

When navigating between different example charts in the sidebar, the list of props doesn't update to show what's actually being passed to the preview chart unless you refresh the page.

Expected behavior

The props list reflects the values that were passed to the preview chart after using in-page navigation to switch to a different example.

Actual behavior

The props from the chart that was initially rendered on page load are displayed after you use in-page navigation to go to another example chart.

Steps to reproduce the problem

  1. Open https://polaris-viz.shopify.com/?path=/docs/polaris-viz-charts-simplebarchart--default
  2. In the sidebar, click "Comparison" under the "SimpleBarChart" folder
polaris-viz-in-page-nav-props-bug.mp4

Specifications

  • Polaris-Viz version number: 9.3.6
  • Browser: Chrome v114.0.5735.133
  • Device: MacBook Pro
  • Operating System: macOS Ventura 13.4
@acmertz acmertz added the bug Something isn't working label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant