You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the issue Yoast/wordpress-seo#19607 forwardRef was added to the Modal component.
When using forward Ref we need to create a story component for the story book because the forwardRef removed the component name and also hides the props from storybook prop table.
Please also check for more usages of components in the storybook and which imports they use. For example the ErrorBoundary, notice the [object Object] in the Show code:
(Thanks Petar for finding and mentioning this!)
The text was updated successfully, but these errors were encountered:
d-claassen
changed the title
Fix Modal story after forwardRef was added
Story: Fix Modal story after forwardRef was added
Feb 10, 2023
In the issue Yoast/wordpress-seo#19607 forwardRef was added to the Modal component.
When using forward Ref we need to create a story component for the story book because the forwardRef removed the component name and also hides the props from storybook prop table.
Please also check for more usages of components in the storybook and which imports they use. For example the ErrorBoundary, notice the
[object Object]
in the Show code:(Thanks Petar for finding and mentioning this!)
The text was updated successfully, but these errors were encountered: