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

proxyConsole.js:56 Warning: Unknown props onTypingEnd, initDelay, typing, maxDelay, minDelay on <span> tag. #29

Closed
drakejin opened this issue Jun 17, 2017 · 5 comments

Comments

@drakejin
Copy link

drakejin commented Jun 17, 2017

Version

0.4.1

Steps to reproduce

  1. jsx source code :
                    <TypeWriter
                      onTypingEnd={this.typeIsDone.bind(this)}
                      initDelay={2000}
                      typing={this.state.erase}>
                      {this.state.messages[this.state.index]}
                    </TypeWriter>
  1. component same as source 1
  constructor(props) {
    super(props);

    this.state={
      messages:["선배와 동기의 A+ 비결", "선배, 친구", "과제, 족보", "썸녀의 썸남저격", "썸남의 썸녀저격"],
      index:0,
      erase:1
    }
  }
  typeIsDone(){
    if(this.state.erase == -1){
      if(this.state.index+1 >=  this.state.messages.length){
        this.setState({
          erase:1,
          index:0
        })
      }else{
        this.setState({
          erase:1,
          index:this.state.index+1
        });
      }
    }else{
      this.setState({
        erase:-1
      })
    }
  }
  1. shit.

proxyConsole.js:56 Warning: Unknown props onTypingEnd, initDelay, typing, maxDelay, minDelay on tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop

Expected behavior

loop messages

Actual behavior

le.js:56 Warning: Unknown props onTypingEnd, initDelay, typing, maxDelay, minDelay on tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop

Error Log

@archae0pteryx
Copy link

same error here

@matmac
Copy link

matmac commented Sep 8, 2017

Any solution to this issue? I'm experiencing the same problem.

Warning: Unknown props onTypingEnd, initDelay, typing, maxDelay, minDelay on tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop

Also the typewritter stops working, cannot reverse or delete the text.

@dbrrt
Copy link

dbrrt commented Sep 23, 2017

+1

@RoosDaniel
Copy link

Still experiencing this.

@drakejin
Copy link
Author

I think this repo is over and deprecated, I'll quit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants