ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

preventGhostClick stops form submission

Open smdvdsn opened this issue 12 years ago • 2 comments

preventGhostClick cancels click event fired by pressing enter key in form inputs. This prevents the forms ng-submit being called.

Looks like the issue is caused by isScrolledSinceStart method. Because the click event has no x,y coords getCoordinates method returns {x:0, y:0}

smdvdsn avatar Mar 17 '14 23:03 smdvdsn

Thanks, we will get this fixed ASAP

mlynch avatar Mar 17 '14 23:03 mlynch

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 06 '18 06:09 ionitron-bot[bot]