2
我有一個簡單的視圖,它從Ext.form.Panel擴展到三個項目。 第一項是屬性停靠的工具欄:'top',第二項是fieldset,第三項是工具欄,但停靠在底部。 這個視圖看起來不錯,但是當我用Google Chrome在iPhone 4或iPhone 5上(包括iOS 6)打開它時,第三項就消失了。停靠的底部在Sencha Touch 2的iPhone上的谷歌Chrome瀏覽器無法正常工作
sameone可以解釋爲什麼停靠在底部的工具欄只顯示在iPhone上的谷歌瀏覽器中?
Ext.define("TestApp.view.Test", {
extend: "Ext.form.Panel",
requires: "Ext.form.FieldSet",
alias: "widget.testview",
config: {
scrollable: 'vertical',
items: [
{
xtype: "toolbar",
docked: "top",
title: "Title",
items: [
{
xtype: "button",
ui: "back",
text: "back",
itemId: "backBtn"
}
]
},
{ xtype: "fieldset",
items: [
{
xtype: 'textfield',
name: 'title',
label: 'Title'
},
{
xtype: 'textareafield',
name: 'description',
label: 'Description'
}
]
},
{
xtype: "toolbar",
docked: "bottom",
items: [
{
xtype: "button",
iconCls: "trash",
iconMask: true,
itemId: "deleteBtn"
}
]
}
]
}
});