Skip to content

React 0.14 - Card throw #1868

@cgestes

Description

@cgestes

Uncaught TypeError: Can't add property onTouchTap, object is not extensible card.jsx:46

in code:

  if (currentChild.props.actAsExpander === true) {
    currentChild.props.onTouchTap = this._onExpandable;
    currentChild.props.style = this.mergeStyles({ cursor: 'pointer' }, currentChild.props.style);
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: cardChanges related to the card.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions