-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 7.0.5
-
Component/s: Components
-
Security Level: Jimmy
-
None
-
ZK 7.0.7
-
None
Reproducing steps:
1. Open the sample zul page
2. Drag some files to the page
-> the overlay covers the anchor
3. Scroll the page down
4. Again, drag some files to the page
-> the overlay does not sync its position with the anchor
Reproducing sample:
<div xmlns:h="native" width="100%" height="100%" style="overflow-y: auto"> <style> .photo { border: 1px dashed grey; border-radius: 10px; width: 100px; height: 100px; background-color: #eee; } .dropzone { border: 1px solid grey; min-height: 100px; } </style> <separator spacing="500px"/> <div> <image id="img" sclass="photo" /> <dropupload maxsize="50" detection="browser" anchor="${img}" content="Drag your photo here (size < 50KB)" /> </div> <groupbox title="Attachments: (drag and drop your files below - multiple allowed)" open="true"> <div id="target" sclass="dropzone"/> <dropupload maxsize="1024" detection="browser" anchor="${target}" content="Drag your files here (size < 1MB)" /> </groupbox> <separator spacing="500px"/> </div>
Workaround:
.z-dropupload { position: absolute !important; }