ngMask icon indicating copy to clipboard operation
ngMask copied to clipboard

repeat crashes browser

Open im1dermike opened this issue 8 years ago • 4 comments

I just tried to implement repeat and it crashed my browser and continues to do so.

<input type="text" mask="w?" repeat="60" mask-restrict="reject" ng-model="value" />

http://plnkr.co/edit/w5n1m07PyGPw1VjxXoBf?p=preview

Start typing characters very quickly.

im1dermike avatar May 17 '16 15:05 im1dermike

@im1dermike My browser didn't crash when typing characters extremely fast. What browser and version are you experiencing this with?

aaronroberson avatar Jun 03 '16 14:06 aaronroberson

All. Mash your keyboard if you're not typing fast enough.

im1dermike avatar Jun 03 '16 14:06 im1dermike

Wow, that's quite extreme! Can you prepare a PR?

aaronroberson avatar Jun 03 '16 14:06 aaronroberson

If you use mask="w?" repeat="60" restrict="reject" and insert a alphabet letter with accents (ä,á,...) the Browser crashes.

Chris26754 avatar Feb 22 '17 15:02 Chris26754