Thank you for reporting this bug. We will make it our priority to review this report.
Ext JS Premium Member
SlideIn does not calculate Y location correctly (see fix included)
Version(s) of Ext GWT
Browser versions and OS
(and desktop environment, if applicable)
If using slide in the slide in will occur not from the lower-left corner of a positioned component. Appears to be approximately centered (but this may be only due to my application)
Steps to reproduce the problem
- Define a button near the bottom of the page.
- Define a panel whose location will be the left X of the button and the Y will be the top of the bottom minus the size of the panel (say 400px).
- Add a select handler to the button and have it slide in the sized panel
- The panel will slide in from ~ the middle of the page (this may be dependent on the size of the panel - but either way it is not from the top of the button)
The slide in should start from the Y+Height location
slide in appears mid screen and then component bounces to proper location
In the method increase of SlideIn change the case UP: to be the following
wrapEl.setTop(oBounds.getY() + (oBounds.getHeight() - v));