使用FireFox时,Kendo UI控件无法正常工作

Paw*_*wan 1 firefox kendo-asp.net-mvc kendo-dropdown kendo-datepicker

我在我的应用程序中使用Kendo UI控件.最近我在使用FireFox时发现了一个很大的Kendo控件问题.

我发现一些Kendo UI控件在firefox中无法正常工作.

喜欢: - KendoDatePicker,Kendo().Dropdownlist().

1)KendoDatePicker(): -

当我使用$("#DatePicker").KendoDatePicker()然后在Firefox中没有显示KendoDatePicker日历.

我发现firefox没有使用Kendo.default.min.css.但是,当我使用IE或Chrome检查类似功能时,它正在运行.并采取上述CSS.

2)Html.Kendo().DropDownList(): -

如果我用鼠标更改Dropdownlist项而不是替换firefox中的项.但在其他浏览器中运行良好.

以下是Dropdownlist的代码: -

@using Kendo.Mvc.UI
@model string

@(Html.Kendo().DropDownList()
.Name("SelectedCategory")  
.DataTextField("Text")
.DataValueField("Text")
.Value(Model)       
.BindTo(ViewBag.Categories)    
)
Run Code Online (Sandbox Code Playgroud)

任何人都可以帮我解决这个问题吗?Kendo UI Controls和FireFox有任何默认问题吗?

小智 5

The Kendo UI Team has identified a problem with the Popup in Firefox, which affects all Kendo UI Widgets that use it. The issue only manifests itself when the page is scrolled as inability to open the Popup there.

There is an easy alternative fix with CSS only. Force your desired overflow on the document element, like this:

 .k-ff { overflow: inherit !important;}
Run Code Online (Sandbox Code Playgroud)

The selector above will affect only Firefox. Adjust the overflow to your needs (visible, auto, hidden, scroll, inherit).