-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Submit buttons not clickable #561
Comments
So I've solved this by editing line 1543 (version 5.0.9):
I've changed it to:
Honestly, I'm not quite sure I fully understand what this code does, but the e.preventDefualt inside the if condition was preventing the form from being sent (also, this code only seems to affect input fields when option "click" is true...) hope this helps someone :) |
maybe it would be better:
I haven't checked it but should work. I'll try to work with forms as soon as possible. |
Hi Matteo, you're right, I think it's better and it works :) Thanks for your time and awesome work! |
Is this fixed in iScroll 5? Doesn't seem so. Line 223: Basically if it's an input, it won't trigger the MouseEvents with _constructed, therefore being cancelled as click on the normal My fix: line 1555, add |
@tomasdev That fixed my problem on Android devices running kitkat. Thanks! |
Thank you for the fix! I applied it in my project that uses iscroll 5. Initially I thought I should be using tap: true instead but later discovered more problems like rails_ujs not working with tap. |
@cubiq I applied changes which you told & its working but I am getting error in log ie. "target is not defined " |
Hi,
first, thanks for this great plugin!
When I use iscroll 5 with "click: true", i can click on links and input fields, but not on submit buttons.
Any ideas how to fix this?
Thanks!
Jordi
The text was updated successfully, but these errors were encountered: