bringking/react-web-animation

Unknown props `player`, `playState`, `timelineLength` on <div> tag

sarovin opened this issue · 2 comments

Hi,

i have this code:


<Animation
  keyframes={this.getKeyFramesLine()}
  timing={this.getTimingLine()}
  onFinish={() => this.onFinish('playText')}
>
  <div className="LineHeader" />
</Animation>

and in console i see this

warning.js:36 Warning: Unknown propsplayer,playState,timelineLengthon <div> tag. Remove these props from the element.

How can i remove this warning??

@sarovin that must be a new warning in React. I spread those props onto the element when I was working on making it possible to animate non-native elements. I will work on a fix for that.

@sarovin fix published to NPM with version 0.1.1