johannesjo / ng-fab-form

Convenient forms for Angular with no extra markup? Fabulous!
https://johannesjo.github.io/ng-fab-form
MIT License
172 stars 25 forks source link

Chrome browser crashes when opening a page that contains a <form> #87

Closed lhmiranda closed 8 years ago

lhmiranda commented 8 years ago

When testing locally, everything works flawlessly. When I deploy to my S3 bucket and open the page, the browser hangs the moment I open a page that contains a form tag.

No error appears in console until it crashes.

Any idea of what could cause it?

johannesjo commented 8 years ago

Which version of ng-fab-form are you using?

lhmiranda commented 8 years ago

The latest one, v1.2.18.

johannesjo commented 8 years ago

Thanks for getting back to me. Are you deploying the files minified? That's really . Could you provide a link for further debugging? It should not matter where the files are deployed only how they look like..

johannesjo commented 8 years ago

Also: Does the same happen to you on the demo page or with the plunkr? They're using the minified version of this repo.

lhmiranda commented 8 years ago

Hey, sorry for the delay. It was concatenated with other scripts and minified by a gulp task using gulp-uglify but I somehow fixed the issue by removing and readding the package via bower. I can try to get to the buggy revision in my repository to try and reproduce the problem if you still want to investigate the issue, tho. And no, it does not happens on the demo page.

johannesjo commented 8 years ago

Thank you very much for your reply. I'm glad that you were able to fix the problem. Bower does not always install the latest version if not explicitly told to do so, but might do it, when there is no package installed at all. That's probably the reason for your problem, as there was a bug in a later version of ng-fab-form, which caused the behavior you described.

lhmiranda commented 8 years ago

Oh, I see. That's probably what happened. Well, thanks for your time and for the awesome work on this package! Thanks a lot!