ThinkFloyd
ThinkFloyd

Reputation: 5021

How to get panel appear sliding behind toolbar?

I have a top toolbar in my app and on tapping a button/section on toolbar I want to slide out a modal menu panel containing list of menu items but my problem is when I animate to slide it from top it appears to be sliding over toolbar but what I want it to appear like sliding out of bottom edge of toolbar. Here is a fiddle which shows something what I have done so far.

BTW, I was expecting sliding menu items to be easy to implement but unfortunately I am stuck.

Upvotes: 1

Views: 985

Answers (1)

sha
sha

Reputation: 17860

Add that line to your toolbar definition:

zIndex: 10,

And check out zIndex config: http://docs.sencha.com/touch/2.0.2/#!/api/Ext.Toolbar-cfg-zIndex

Upvotes: 2

Related Questions