Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/127.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Scroll “英特尔XDK”侧面板仅在初始化时足够长时才会滚动_Scroll_Mobile Application_Appframework - Fatal编程技术网

Scroll “英特尔XDK”侧面板仅在初始化时足够长时才会滚动

Scroll “英特尔XDK”侧面板仅在初始化时足够长时才会滚动,scroll,mobile-application,appframework,Scroll,Mobile Application,Appframework,我正在使用AppMobile框架,我想我发现了一个关于滚动条的bug。如果侧面板足够长,可以在初始化时滚动,我可以在旋转后滚动。但是,如果应用程序以纵向模式启动(无需滚动),然后我旋转到横向,则没有滚动条。下面是相关代码。现在我有一堆“你好”,所以滚动条总是在那里。如何让它在没有它们的情况下滚动 <div class="inner-element uib_w_21 uib_sidebar rightbar bar-bg" data-uib="layout/right_sidebar" da

我正在使用AppMobile框架,我想我发现了一个关于滚动条的bug。如果侧面板足够长,可以在初始化时滚动,我可以在旋转后滚动。但是,如果应用程序以纵向模式启动(无需滚动),然后我旋转到横向,则没有滚动条。下面是相关代码。现在我有一堆“你好”,所以滚动条总是在那里。如何让它在没有它们的情况下滚动

<div class="inner-element uib_w_21 uib_sidebar rightbar bar-bg" data-uib="layout/right_sidebar" data-ver="0" data-anim="{'style':'overlap', 'v':200, 'side':'right'}" id="rightPanel">
    <div class="sidebar-content">

        <div class="grid grid-pad urow uib_row_12 row-height-12" data-uib="layout/row" data-ver="0">
            <div class="col uib_col_13 col-0_12-12" data-uib="layout/col" data-ver="0">
                <div class="widget-container content-area vertical-col">

                    <div class="widget uib_w_22 d-margins" data-uib="media/text" data-ver="0">
                        <div class="widget-container left-receptacle"></div>
                        <div class="widget-container right-receptacle"></div>
                        <div>
                            <p>Settings:</p>
                        </div>
                    </div><span class="uib_shim"></span>
                </div>
            </div>
            <span class="uib_shim"></span>
        </div>

        <div class="grid grid-pad urow uib_row_13 row-height-13" data-uib="layout/row" data-ver="0">
            <div class="col uib_col_14 col-0_12-12" data-uib="layout/col" data-ver="0">
                <div class="widget-container content-area vertical-col">

                    <div class="widget uib_w_23 d-margins" data-uib="media/text" data-ver="0">
                        <div class="widget-container left-receptacle"></div>
                        <div class="widget-container right-receptacle"></div>
                        <div id=rightpanel_container style="overflow-y:scroll">
                            <p> hello there! hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!hello there!</p>
                            <div>
                                <div class="widget-container content-area vertical-col">
                                    <label for="startdate">Start Date:</label>
                                    <input type="date" name="startdate" id="startdate" value="2014-02-01" class="jq-ui-forms">
                                    <span class="uib_shim"></span>
                                </div>
                                <div class="widget-container content-area vertical-col">
                                    <label for="enddate">End Date:</label>
                                    <input type="date" name="enddate" id="enddate" value="2014-03-01" class="jq-ui-forms">
                                    <span class="uib_shim"></span>
                                </div>
                            </div>
                            <div class="widget-container content-area vertical-col">
                                <div id="fieldOptions">
                                    Field Options Go here
                                </div>
                            </div>
                            <div class="widget-container content-area vertical-col">
                                <a class="button widget uib_w_26 d-margins icon error" data-uib="app_framework/button" data-ver="0" id="removeFavorite-button">Remove Stock from Favorites</a>
                                <a class="button widget uib_w_27 d-margins icon add" data-uib="app_framework/button" data-ver="0" id="addFavorite-button">Add Stock to Favorites</a>
                                <a class="button widget uib_w_18 d-margins icon check" data-uib="app_framework/button" data-ver="0" id="settings-done-button">Done</a>
                            </div>
                        </div>
                    </div><span class="uib_shim"></span>
                </div>
            </div>
            <span class="uib_shim"></span>
        </div>
    </div>
</div>

设置:

你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好!你好

开始日期: 结束日期: 字段选项在这里 从收藏夹中删除库存 将股票添加到收藏夹 多恩
看起来这一限制仅限于应用程序框架设计。如果选择了其他UI框架之一,它似乎可以正常工作


我已经提交了一个bug,我们将考虑如何修复它

尝试重新启用本机滚动(这可能不是所有设备的完美解决方案):

更多信息:

af.feat.nativeTouchScroll = true;