问题
i am using datetimepicker
in sencha touch but its working in mozila and not working in chrome , have no idea why this is happening.
I have downloaded from sencha market here is the source
mozila ( its working )

chrome (not working )

UPDATE
simple datepickerfield
in chrome isnt working so basically there is some bug in sencha touch
try this sample from official sencha touch and open it in chrome
http://try.sencha.com/touch/2.2.0/docs/Ext.field.DatePicker.1/
回答1:
Its because of Chrome v43+, add this code to your controllers init function
if (Ext.browser.is.WebKit) {
Ext.override(Ext.util.SizeMonitor, {
constructor: function (config) {
var namespace = Ext.util.sizemonitor;
return new namespace.Scroll(config);
}
});
Ext.override(Ext.util.PaintMonitor, {
constructor: function (config) {
return new Ext.util.paintmonitor.CssAnimation(config);
}
});
}
回答2:
I solved it by setting the width of any id with css
#ext-pickerslot-1{
width: x%;
}
#ext-pickerslot-2{
width: y%;
}
etc...
来源:https://stackoverflow.com/questions/19314628/datetimepicker-is-not-working-in-chrome