angular-input-masks icon indicating copy to clipboard operation
angular-input-masks copied to clipboard

Freeze in decimal field

Open RudeySH opened this issue 9 years ago • 3 comments

In your demo, try entering 3 digits into the decimal field (so there are 4 digits in total), then Ctrl+Z. It freezes my Chrome.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

RudeySH avatar Jun 09 '15 14:06 RudeySH

In which field of the demo? I was unable to reproduce the error. Are you sure that the demo is freezing your browser?

assisrafael avatar Jun 09 '15 16:06 assisrafael

Sorry for not being clear. I meant the second field with the "Decimals:" label. I'm currently experiencing the issue in Chrome 43 and IE11, on both Windows 7 and Windows 8.1 systems. In case you have multiple demos, I'm talking about this one: http://assisrafael.github.io/angular-input-masks/

It appears it's not actually freezing the browser, but it's definitely freezing the current tab.

RudeySH avatar Jun 09 '15 16:06 RudeySH

It seems to be an issue with the watcher on the decimals value. Maybe a de-bounce function could prevent this bug.

assisrafael avatar Jun 09 '15 17:06 assisrafael