Keyboard not disappearing when iScroll used

198 views
Skip to first unread message

vinothini

unread,
Oct 4, 2012, 8:29:48 AM10/4/12
to rhom...@googlegroups.com
We are using iscroll4 for an android app. If iScroll is not used, when I touch on input field, the  keyboard opening automatically and it disappear when I touch anywhere outside of input field. If iScroll is used the same is not happening. When I touch outside of iScroll enabled div keyboard closed automatically. How can avoid this problem? I would like to keyboard act normally when iScroll is used.

Jon Tara

unread,
Oct 4, 2012, 10:46:26 AM10/4/12
to rhom...@googlegroups.com
1. What version of iScroll?

2. Are you using my jquery.mobile.iscrollview plugin?

- Using the plugin helps insure that iScroll is set-up correctly to work with jQuery Mobile. You could spend days of fiddling figuring out how to use iScroll with JQM, or you can spend 5 minutes installing the plugin.

- The latest version of iScroll, 4.2.2, has some changes to event-handling code that I suspect *could* cause the behavior you describe. I haven't had time to diagnose this - I gave this version a quick try with my plugin a few days ago, and there were problems. I need to spend some time diagnosing this. At this point, I don't know if there is a bug in 4.2.2 or if it will require some re-writing in my plugin. So, for now (as documented with the plugin) I recommend you don't use iScroll 4.2.2 with the plugin (stick with 4.2.0).

If you aren't using my plugin, I'd be interested in hearing from others if they have problems with 4.2.2 that they didn't experience with 4.2.0.


Balaji D L (Spritle Software)

unread,
Oct 4, 2012, 11:36:16 AM10/4/12
to rhom...@googlegroups.com
Jon,
Regards
Balaji

Jon Tara

unread,
Oct 4, 2012, 1:16:28 PM10/4/12
to rhom...@googlegroups.com
Yes, that is my plugin.


Rajeswari Krishnamoorthy

unread,
Oct 8, 2012, 8:25:03 AM10/8/12
to rhom...@googlegroups.com
Hi,

I added a github repo for discussing this issue. I added your jquery.mobile.iscrollview plugin with iScroll version of 4.2.
 
1 .When we have form fields in a page and iscroll (added iScroll for app/Product/new page) keypad not disappearing when we click outside of anywhere in the page.

2. But without iScroll (as shown in app/Product/get_product) keypad disappears wherever i click on the page.

Is it possible to work normally when iScroll is used?

On Thu, Oct 4, 2012 at 10:46 PM, Jon Tara <jtara-g...@spamex.com> wrote:
Yes, that is my plugin.



--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhomobile/-/Hs-mT6RFFNgJ.

To post to this group, send email to rhom...@googlegroups.com.
To unsubscribe from this group, send email to rhomobile+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhomobile?hl=en.



--
Thanks & Regards
Rajeswari K
Rails developer, Spritle Software

Rajeswari Krishnamoorthy

unread,
Oct 8, 2012, 8:26:06 AM10/8/12
to rhom...@googlegroups.com
On Mon, Oct 8, 2012 at 5:55 PM, Rajeswari Krishnamoorthy <rajes...@spritle.com> wrote:
Hi,

I added a github repo for discussing this issue. Please find this at : g...@github.com:spritle/iscroll_test.git. I added your jquery.mobile.iscrollview plugin with iScroll version of 4.2.
Reply all
Reply to author
Forward
0 new messages