iscroll5 form input

563 views
Skip to first unread message

Paul van der Meer

unread,
Sep 15, 2013, 3:36:40 AM9/15/13
to isc...@googlegroups.com
Hi Matteo,

In Iscroll4 I am using the following javascript te enable form input. How is this working in Iscroll5?

      onBeforeScrollStart: function (e) {
                        var target = e.target;
                        while (target.nodeType != 1) target = target.parentNode;
                        if (target.tagName != 'SELECT' && target.tagName != 'INPUT' && target.tagName != 'TEXTAREA')
                                e.preventDefault();


Thanks
Paul

Matteo Spinelli

unread,
Sep 16, 2013, 4:46:28 AM9/16/13
to isc...@googlegroups.com
please try the latest version (v5.0.5) it should work out of the box now.

Matteo

Chris Fennell

unread,
Nov 22, 2013, 5:53:17 PM11/22/13
to isc...@googlegroups.com
It doesn't. I've used (v5.0.6) and you can't check / uncheck checkboxes if they're inside the scroll area. I'm on the hunt for a fix.

Chris Fennell

unread,
Nov 22, 2013, 7:10:48 PM11/22/13
to isc...@googlegroups.com
Found it was because I had "click: true" in my scroll options. Removed that and it seems to work fine now. My mistake.

Chencho Pc-cito

unread,
Dec 24, 2013, 5:35:10 AM12/24/13
to isc...@googlegroups.com
Hi.

I have same error in text area and inputs.

I declare scrollers as:

myScroll = new IScroll('wrapper', { hideScrollbar: true }); 
 
myScrollMenu = new IScroll('wrapperMenu', { hideScrollbar: true });

With selects and checkbox it works fine
 

Lingliang Zhang

unread,
Apr 3, 2014, 5:49:21 AM4/3/14
to isc...@googlegroups.com
For me, on iOS7 all text inputs bring up the keyboard but don't seem to do anything

lizzmar Idola

unread,
Jul 19, 2014, 10:13:57 PM7/19/14
to isc...@googlegroups.com
I have the same problem with "form" I work the "click" to true stops working and the "input" function need both. 

Someone knew resolve.



Reply all
Reply to author
Forward
0 new messages