-
Notifications
You must be signed in to change notification settings - Fork 126
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
Different output on local and production #33
Comments
I have the exact same issue! |
I'm running version 2.0.1 |
Ah, that's no good! Do you mind giving me the following information:
Thank you! |
Thanks @udewilde! Do you mean create-react-app? Do you know which versions of Thank you! |
Sure! here are the relevant elements in my package.json
The build process is using the one described in the create-react-app, with a pre-cache addition to it. Here is the link to the website. If you open the Chrome Devtools, you should see every char change logged in the console, as well as the char index. |
Awesome, thank you for all the info! 😊 This should help me reproduce and get to the bottom of this. I'll dive into this later this evening or tomorrow Thanks again! |
I'm using Laravel Mix, not create-react-app, so I don't think that this is solely related to create-react-app |
thanks @elliotleelewis, @udewilde. I think I figured out what's going on: when the code is minified, this check no longer works: https://github.com/jstejada/react-typist/blob/master/src/utils.js#L42 because the I'll push a fix soon |
I've released a fix with v2.0.3 (d122bd1), which should resolve your issue. Let me know if that's not the case! |
Hey @jstejada, I have just updated the module ( |
Yeah I still have same issue too! |
Oh, yeah you're right! Sorry, that was my bad! It should be fixed in 2.0.4! @elliotleelewis @udewilde |
Works for me! 😃 |
Works for me too! |
I have been using the module on my local machine and everything works perfectly.
However, when I moved to production, Typist.Backspace & Typist.Delay have completely stopped working.
I mean that the text will just be added to the previous one, without any rythme change.
The output is just one big string
If it can be any indicator, I noticed that on localhost when the
Typist.Backspace
occurs, this happens:But nothing is logged when in production.
Any idea what I am getting wrong?
Thanks
The text was updated successfully, but these errors were encountered: