I'm using NGUI in perspective mode and have modeled my scrolling panels off of Example 7 - Scroll View (Panel).
When working this way, the draggable panel will not appear properly so you have to "float" it many units in front of the window panel (more than the described -.1f or -1f that makes sense). What happens is the draggable panel, when it's moving, will think it's behind the window when you are near the beginning or end of the scrolling extent. Once movement stops the panel will pop to the desired front of the window.
This is a drawing problem. The actual positions of the items do not change.
You can reproduce this easily:
1. Open the Example 7 - Scroll View (Panel)
2. Change the Camera to perspective mode
3. Change the Window Root transform Z value to 600
4. Note that the UIPanel (Clipped View) will not be visible. You will need to move the clipped view Z to about -7.8 for it to appear in edit mode.
5. Hit Play and use mouse wheel to scroll. The panel will blink out while moving and appear again when movement stops.
If you pull the panel forward to about -100, you will be able to see that the window is in front of the panel while moving. You will also see that when you are in the middle of your panel, the effect is lessened (the panel stays visible or less sensitive to movement). When the scroll position is close to either end, the effect is much greater.
Any idea what's going on here?