使用iScroll $ P $展示我的设备上pvents键盘 [英] Using iScroll prevents the keyboard from showing on my device

查看:188
本文介绍了使用iScroll $ P $展示我的设备上pvents键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用iScroll提供iPhone风格的滚动。但是,在点击文本框时,键盘不会显示出来。

I am using iScroll for providing iPhone style scrolling. But, when clicking on the textboxes, the keyboard does not show up.

虽然试图找到可能的原因,我发现删除 iScroll 脚本,使得它的工作正常,但在这种情况下,我错过了滚动功能。

While trying to find the possible cause, I found that removing the iScroll script, makes it work normal, but in that case I miss the scrolling functionality.

这是在iScroll的错误。如果是的话,有没有一个测试变通?或者是有iScroll任何替代?

Is this a bug in iScroll. If yes, is there a tested work-around? Or is there any alternative for iScroll?

先谢谢了。

推荐答案

我是能够解决的错误。问题是与CSS。

I was able to solve the error. The problem was with the CSS.

我想可能是CSS以某种方式产生的问题。我得出的结论在此基础上,当我评论了包装的CSS 滚轮,键盘出现了......但保持他们,键盘没有工作。我使用底部:0像素; ,这似乎是莫名其妙$ P $展示pventing键盘。

I thought may be the CSS is somehow creating the problem. I concluded this on the basis that when I commented the CSS for wrapper and scroller, the keyboard showed up... but keeping them, the keyboard didn't work. I was using bottom: 0px;, which seemed to be somehow preventing the keyboard from showing.

删除底部:0像素; 解决我的问题。

希望这会帮助别人。

这篇关于使用iScroll $ P $展示我的设备上pvents键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆