Skip to content

Getting RangeError: Maximum call stack size exceeded #39

@santhoshmp89

Description

@santhoshmp89

Describe the bug
After upgrading to v6. When run yarn test -u i am getting below error.

RangeError: Maximum call stack size exceeded

  at node_modules/@storybook/addon-knobs/dist/KnobManager.js:84:17
      at Array.reduce (<anonymous>)
  at escapeStrings (node_modules/@storybook/addon-knobs/dist/KnobManager.js:83:30)
  at node_modules/@storybook/addon-knobs/dist/KnobManager.js:88:20
      at Array.reduce (<anonymous>)

Here is my story component:

export const Default = () => {
const children = (


This is a child i think. The hope is that by me typing with a ton of new lines that i'll bring up the custom
Scrollbar Do you see it? I'm not sure yet so i'm going to keep typing. Don't judge this stream of typing

);

return (
    <Scrollbar
        width={number('Width', 150)}
        height={number('Height', 120)}
        className={text('css classes', '')}
        children={object('Child node', children)}
        autoHide={boolean('Auto hide', false)}
    />
);

};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions