question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Text input behaves strangely after updating to React v15.6.1

See original GitHub issue

Hey there, I’ve just updated my React/ReactDOM version to 15.6.1 (from 15.4.2) and noticed that the phone number input started behaving strangely.

Specifically, when typing out a long-form international phone number, the caret will jump to the third to last position at some point, and remain there.

React 15.6.0 saw some changes related to onChange events, so perhaps they could be causing this?

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
catamphetaminecommented, Jun 16, 2017

This was a small bug in libphonenumber-js and it has been fixed. https://github.com/halt-hammerzeit/libphonenumber-js/commit/ddec999d111b5510c342d9dd57c117f1241cd781

npm install libphonenumber-js@latest

0reactions
corehcommented, Jun 17, 2017

Thanks! 🙌

Read more comments on GitHub >

github_iconTop Results From Across the Web

React v15.6.0 – React Blog
In React 15.6.0 the onChange event for inputs is a little bit more reliable and handles more edge cases, including the following:.
Read more >
React Text Input acting weird: Not letting me type
I am having a global issue with my app, text boxes are cleared anytime a hook is updated. Thank you! const [values, setValues]...
Read more >
React Interview Questions & Answers - GitHub
6, When to use a Class Component over a Function Component? 7, What are Pure Components? 8, What is state in React? 9,...
Read more >
main.18b409e1.js.map - Google Git
node_modules/react-dom/lib/ReactDOMComponentTree.js",". ... n *\n * Since we update `_renderedChildren` and the actual DOM at (slightly)\n * different times ...
Read more >
Untitled
#Paolo Tarasana sms! 30 can zipperless cooler, Thetandd, Flower shops in denver! Glecer shoes, Wrc onboard loeb 2012. #mantovani P0171 chevrolet lacetti?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found