-
Bug
-
Resolution: Won't Fix
-
Normal
-
9.0.1.2
-
Security Level: Jimmy
Steps to Reproduce
1. run the attached zul
2. click to open the combobox more than 3 times
Current Result
each opening reduces the combobox' width
Expected Result
the width doesn't change
Debug Information
1. 8.6.4 doesn't have the bug
Workaround
remove
.igate .z-groupbox-content .z-combobox, .igate .z-groupbox-content .z-spinner { width: 100%; }
Correct Usage
use hflex only (don't mix pure CSS with ZK)
ZK only solution
<div> <spinner placeholder="Execution delay time" hflex="1"/> <combobox value="Hour" readonly="true" hflex="min"> <comboitem value="Hour" label="Hour"/> <comboitem value="Minute" label="Minute"/> </combobox> </div>
CSS flexbox only solution
<div style="display: flex; width: 100%;"> <spinner placeholder="Execution delay time"/> <combobox value="Hour" readonly="true" style="flex: 0 0 150px"> <!-- flex has no minimum. We need to specify --> <comboitem value="Hour" label="Hour"/> <comboitem value="Minute" label="Minute"/> </combobox> </div>
- relates to
-
ZK-4227 Combobox is flickering when resizing
- Closed