soywod / react-pin-field

📟 React component for entering PIN codes.
https://soywod.github.io/react-pin-field/
MIT License
413 stars 24 forks source link

Internet Explorer infinite loop #19

Closed karesztrk closed 3 years ago

karesztrk commented 4 years ago

Hey. I've just started to use this awesome component. But i noticed a bug which only occurs in Internet Explorer. If the user types the input very fast then the cursor gets swapping between the inputs. Causing the whole browser to shut down (CPU intensive process probably in the background).

Is it a know issue?

soywod commented 4 years ago

Not at all, and to be honest I didn't test on Internet Explorer. Which version did you use? Does this strange (but funny) bug occurs on Edge?

karesztrk commented 4 years ago

Its IE11. I also created a screencast about this behavior @ https://drive.google.com/file/d/1rxlqt9F-IPMBTnuaStv5BASr9R8O6UEX/view?usp=sharing Please note that its only occurs if the user types fast.

soywod commented 4 years ago

I will try to reproduce first then investigate. Thank you for your feedback :)

MatheusRyuki commented 4 years ago

Just an addendum to the problem, despite official Microsoft support ending in 2015, the company itself no longer recommends using it. I believe that support for Internet Explorer should not be considered.

Sources: https://blog.archive.org/2020/05/01/farewell-to-ie11/ https://techcommunity.microsoft.com/t5/windows-it-pro-blog/the-perils-of-using-internet-explorer-as-your-default-browser/ba-p/331732#

karesztrk commented 4 years ago

Just an addendum to the problem, despite official Microsoft support ending in 2015, the company itself no longer recommends using it. I believe that support for Internet Explorer should not be considered.

Sources: https://blog.archive.org/2020/05/01/farewell-to-ie11/ https://techcommunity.microsoft.com/t5/windows-it-pro-blog/the-perils-of-using-internet-explorer-as-your-default-browser/ba-p/331732#

@MatheusRyuki Thanks. I'm aware of it. Unfortunately most our users are not....So... 😄

soywod commented 3 years ago

I just publish the v1.1.0. I improved the behaviour on old browsers and mobile, let me know if it fixes your bug on IE. Anyway, I can't really debug on it since I don't have Windows. I close the issue. If other people encounter the same bug I will reopen.