Hi Yip Ng,
I accept the current behavior of the popups and thank you very much for the suggestion.
I also noticed that CKEditor uses fixed positioning and that's why it's more stable. ICEfaces auto centering is little bit slow on Firefox. It works really well in Chrome and Opera. I think the slowness is because of the calculation of the position on each event.
Anyway, I decided to use draggable="true", modal="true", positionOnLoadOnly="true" and autoCentre="true" with my popups.
I got another issue with the fix. When the popup is first displayed, it auto centers when scrolling and resizing. After dragging it stops.
When I close the popup and open it again, auto centering doesn't work.
What I noticed is that the dragged property is always true after it has been dragged. This can be reproduced from the component showcase.
Please try following steps.
1. Open the popup.
2. Resize or scroll. It auto centers
3. Drag the popup.
4. Close it.
5. Open again. The popup opens in the center.
6. Resize or scroll. It does not auto center.
Please let me know whether you can also reproduce this.
Thanks.
See
ICE-5496for additional comments.