C# 在mozilla firefox中,当鼠标悬停选项或在下拉列表中从上到下移动光标时,selectedIndex事件将触发

C# 在mozilla firefox中,当鼠标悬停选项或在下拉列表中从上到下移动光标时,selectedIndex事件将触发,c#,asp.net,C#,Asp.net,我面临着firefox下拉列表的问题。当我将鼠标悬停在下拉菜单项上或将光标移动到下拉菜单项上时,firefox中会触发selectedindex下拉菜单事件,而我在IE、chrome中不会遇到这个问题 .aspx: Collapse | Copy Code <asp:DropDownList ID="ddlTempGroups" runat="server" onselectedindexchanged="ddlTempGroups_SelectedIndexChanged"&g

我面临着firefox下拉列表的问题。当我将鼠标悬停在下拉菜单项上或将光标移动到下拉菜单项上时,firefox中会触发selectedindex下拉菜单事件,而我在IE、chrome中不会遇到这个问题

    .aspx:
 Collapse | Copy Code
<asp:DropDownList ID="ddlTempGroups" runat="server" onselectedindexchanged="ddlTempGroups_SelectedIndexChanged">
<asp:ListItem Text="-" Value="-" > 
<asp:ListItem Text="type" Value="type" >
<asp:ListItem Text="date" Value="date" >
</asp:DropdownList>


.cs
protected void ddlTempGroups_SelectedIndexChanged(object sender, EventArgs e)
      {   }
这似乎是一个问题。如中所述,您可以尝试:

ng-mouseleave="showSelect=false"

嗨,实际上我的问题是,事件是在鼠标悬停在下拉项上时触发的,我没有选择任何下拉项。你提到的链接是关于删除的消失,那么已知的bug链接呢?这也无关紧要吗?