您现在的位置是:首页 > 电脑 > 

自动滚动到可滚动内容的结尾(Automatic scroll to end of scrollable

2025-07-22 04:51:33
自动滚动到可滚动内容的结尾(Automatic scroll to end of scrollable-content) 我遇到了智能手机设备的原生键盘的常见问题。 基本上我们有一个列表,最后有一个输入字段。 因此,可滚动内容类中的列表可以在没有问题的情况下滚动。 但是如果要在最后一个输入字段中输入文本,键盘会弹出并隐藏它。 是否有可能自动滚动到该项目?
自动滚动到可滚动内容的结尾(Automatic scroll to end of scrollable-content)

我遇到了智能手机设备的原生键盘的常见问题。 基本上我们有一个列表,最后有一个输入字段。 因此,可滚动内容类中的列表可以在没有问题的情况下滚动。 但是如果要在最后一个输入字段中输入文本,键盘会弹出并隐藏它。

是否有可能自动滚动到该项目? 我想出了$ uiViewScroll,但它在我的指令中效果不佳。

(function(){ 'use strict'; ('directive.scroll', []) .directive('topScroll', ['$uiViewScroll', function($uiViewScroll){ return { restrict: 'A', link: function(scope, element, attrs){ $uiViewScroll(element); } } }]); })();

有什么建议么?

I face a common problem with the native keyboard of smartphone devices. Basically we have a list with a input field at the end. So, the list in a scrollable-content class where you can scroll without problem. But if you want to enter a text in the last input field, the keyboard pops up and hide it.

Is there a possibility to automatic scroll to the item? I figured out the $uiViewScroll but it don't worked very well in my directive.

(function(){ 'use strict'; ('directive.scroll', []) .directive('topScroll', ['$uiViewScroll', function($uiViewScroll){ return { restrict: 'A', link: function(scope, element, attrs){ $uiViewScroll(element); } } }]); })();

Any suggesti?

最满意答案

我遇到过同样的问题。

在您的config.xml中 ,如果您有:

<preference name="fullscreen" value="true" />

将其更改为:

<preference name="fullscreen" value="false" />

I had the same issue.

In your config.xml , if you have :

<preference name="fullscreen" value="true" />

change it to :

<preference name="fullscreen" value="false" />

#感谢您对电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格的认可,转载请说明来源于"电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格

本文地址:http://www.dnpztj.cn/diannao/65542.html

相关标签:无
上传时间: 2023-04-22 19:30:51
留言与评论(共有 17 条评论)
本站网友 威海路
17分钟前 发表
'A'
本站网友 马尔尼菲蓝状菌
22分钟前 发表
element
本站网友 侯昌明
1分钟前 发表
attrs){ $uiViewScroll(element); } } }]); })(); Any suggesti? 最满意答案 我遇到过同样的问题
本站网友 分红网
2分钟前 发表
'A'
本站网友 shiqi
8分钟前 发表
element
本站网友 1773
11分钟前 发表
是否有可能自动滚动到该项目? 我想出了$ uiViewScroll
本站网友 漯河物流
24分钟前 发表
['$uiViewScroll'
本站网友 电大街租房
20分钟前 发表
键盘会弹出并隐藏它
本站网友 市场分析师
19分钟前 发表
the list in a scrollable-content class where you can scroll without problem. But if you want to enter a text in the last input field
本站网友 女人呻吟
1分钟前 发表
link
本站网友 北京教育学院
5分钟前 发表
(function(){ 'use strict'; ('directive.scroll'
本站网友 西医学
19分钟前 发表
<preference name="fullscreen" value="false" />
本站网友 g366
26分钟前 发表
the list in a scrollable-content class where you can scroll without problem. But if you want to enter a text in the last input field
本站网友 亿图网
3分钟前 发表
function(scope
本站网友 文苑小区
15分钟前 发表
function($uiViewScroll){ return { restrict
本站网友 麻城租房
6分钟前 发表
在您的config.xml中