2

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

<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>
4

2 回答 2

0

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

af.feat.nativeTouchScroll = true;

更多信息:http ://app-framework-software.intel.com/documentation.php#afui/afui_scrolling

于 2014-07-08T16:20:35.463 回答
0

看起来这个限制只存在于 App Framework 设计中。如果选择其他 UI 框架之一,它似乎可以正常工作。

我已经提交了一个错误,我们会看到如何修复它。

于 2014-04-04T22:53:14.603 回答