Kendo datepicker shows two months during animation

拈花ヽ惹草 提交于 2019-12-20 07:13:11

问题


With the Kendo datepicker we are seeing two months stacked on top of each other when we transition months. Has anyone else seen this? It happens in both firefox and chrome.

$(".datepicker").kendoDatePicker();

From <input type="text" id="OrderDateFrom" class="datepicker" name="OrderDateFrom" /> 

As soon as the transition is completed it looks normal again.

UPDATE: Kendo UI Web v2013.1.319, Windows 7 OS using latest versions of Firefox, Chrome, IE 9 & 10, JQuery 1.9.1, HTML5, MVC 2.


回答1:


The table element created dynamically by the kendoDatePicker plugin cannot have any clear css rules applied to it. IE: clear: both;




回答2:


if you are using bootstrap means it will affect your kendo datepicker table.Add below css

 #datepickerid_dateview table.k-content
        {
            border-collapse: inherit;
        }

datepickertid is your datepicker name.



来源:https://stackoverflow.com/questions/15647583/kendo-datepicker-shows-two-months-during-animation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!