-
19 Apr 2012 7:30 AM #21Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,659
- Vote Rating
- 14
I noticed that the Toolbar examples were working, even with transforms on them. So I then figured that unlike the transform issues we had in the past with masks, this had to be fixable. Then it was a matter of finding the differences in CSS between Toolbar and TabBar. That took quite a while and I had to bring in Rob and Jacky because it wasn't any of the usual suspects (position, display, box-shadows, etc.). We still have no idea why it needs z-index and it's accidental that toolbar had this in there from Touch 1.x as the DOM structure has changed and shouldn't need it.
-
24 Apr 2012 7:26 AM #22
Interesting thanks for expanding.
We noticed it break when packaged native using phone gap for android on 4.0
my implementation is in index file
<style> .x-tabbar > * { z-index: 1; }</style>
anyone else notice an issue when going native ?
-
25 May 2012 4:30 AM #23
In my case, the icons are blank in buttons, not in a tabbar, what is the css for fix button icons?
Thanks
-
30 May 2012 7:59 PM #24
Select field down arrows dont show up
Select field down arrows dont show up
On android the selectfield dropdown arrow is sometimes (usually, actually) a square box.
UPDATE:
My fix for the selectfield bug is:
PHP Code:<style> .x-field-select { z-index: 1; }</style>
-
11 Jun 2012 4:20 AM #25
-
19 Jul 2012 1:52 AM #26
fix works for 4.0.3
fix works for 4.0.3
Thanks for the easy fix! Have put it in my css file and it works like a charm

-
8 Aug 2012 6:21 AM #27
In Sencha Touch 2.1 beta2 it is broken again for Android 4.x devices
Greetings -Ralf Kraus-
-
20 Aug 2012 11:59 AM #28
If its still broken in ST 2.1 beta2, check if .x-tabbar-inner css position: static,
for z-index to be set it must be relative or absolute
ie.
<style> .x-tabbar > * { z-index: 1; position: relative; }</style>
-
3 Oct 2012 2:34 PM #29
The z-index fix seems to work for buttons outside of a tabbar as well. I've found that giving the container of the image or button the z-index property seems to work. So if I have an image mask or button with image mask in a panel (instead of a tabbar), I give the panel a style of z-index: 1 and it works.
-
19 Feb 2013 7:14 AM #30
Came here to say
THANK YOU!!!!!!!!!!!
Been dealing with this and didnt stumble on this til today. I added the <style> line to my index.html and it fixed my issues on Android. Beautiful. Thanks guys
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-2698
in
Sprint 22 (2.0.2).



Reply With Quote