-
Bug
-
Resolution: Fixed
-
Normal
-
7.0.5.2
-
Security Level: Jimmy
-
JDK 1.7 tomcat7
-
ZK 7.0.7
Listbox中含有下拉選單Firefox瀏覽器中顯示異常之問題!
38版與42版
程式碼如下
<div> <listbox id="outListbox" height="450px" > <listhead> <listheader label="編碼" /> <listheader label="測試" /> </listhead> <listitem > <listcell label="1"></listcell> <listcell > <listbox mold="select" > <listitem > <listcell label="1"></listcell> </listitem> <listitem > <listcell label="2"></listcell> </listitem> </listbox> </listcell> </listitem> <listitem > <listcell label="2"></listcell> <listcell > <listbox mold="select" > <listitem > <listcell label="1"></listcell> </listitem> <listitem > <listcell label="2"></listcell> </listitem> </listbox> </listcell> </listitem> </listbox> </div>
Steps to reproduce
- load the zul above
- click the select mold listbox inside a Listbox
- move your pointer to select the drop-down listitem
Actual result
When a mouse pointer hovers out a Listitem, the drop-down list disappears immediately.
Debug information
- If outer listbox's listiem is selected, then the drop-down listbox inside that listitem can keep showing without disappearing when a mouse move to select one item.
Workaround
- <listbox id="outListbox" height="450px" nonselectableTags="">
- use <combobox> instead
- put the style below
<style>
/* a patch for select mold listbox under firefox*/
.z-listitem:hover>.z-listcell { position:static; }</style>
- relates to
-
ZK-2204 Listbox in Grid on FireFox 27.0.1 will auto select on client when mouse out listitem
- Closed