21 Feb 2013 9:00 PM #1
Collapse panel while masked leaves mask
I've got a few panels that are periodically masked with a call to setLoading(true, true) (to mask just the panel body and not the header). This leaves the collapse tool in the header visible (as well as the collapse tool within the splitter for those panels contained in a border layout). If a panel is collapsed after a call to setLoading(), the load mask sticks around in the same location, at the same size. Does anyone have a good fix for this?
22 Feb 2013 7:02 AM #2
've got a few panels that are periodically masked with a call to setLoading(true, true) (to mask just the panel body and not the header).sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
22 Feb 2013 8:10 AM #3
Here's what I'm doing: http://jsfiddle.net/ms4UC/
If you click the 'Mask North' button, the north panel's body will be masked. However, the header is intentionally left unmasked so the panel can be collapsed. If the panel is collapsed while masked, the mask remains. It appears to me that I'm masking the appropriate container.
This seems like a fairly common problem that folks might run into and I was looking for an elegant solution (read: something canned that I could drop it rather than having to develop my own).
16 Mar 2014 6:03 AM #4