-
11 Apr 2011 11:26 PM #1
Pull refresh demo shows black square
Pull refresh demo shows black square
Well, like the title says. The demo online (http://dev.sencha.com/deploy/touch/e...s/pullrefresh/) shows a black square when pulled down instead of some arrow image. 's probabaly not right...
Edit: when viewed in Chrome that is.
-
12 Apr 2011 6:18 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Looks fine on my Chrome browser. Look at dev tools to see if it's not applying the css.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
12 Apr 2011 10:22 PM #3
When it says "Release to refresh..." there is a black box, when it says "Pull down to refresh..." there is the arrow. At least in my case

I use Google Chrome 10.0.648.204
-
13 Apr 2011 4:34 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Guess it is a Chrome 10 bug because Chrome 11 is fine...
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
13 Apr 2011 6:53 AM #5
The only 11 version I could find was the beta.
But in my 11.0.696.43 beta version there's the same square block...
-
13 Apr 2011 7:00 AM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
http://www.simoens.org/videos/PullRefresh.mp4
Screencast taken using Chrome 11.0.696.43 beta on Mac OS X 10.6.7
Notice I did refresh the browser before interacting with the List.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
18 Apr 2011 11:51 PM #7
I got Chrome 11.0.696.50 Beta on Windows and it also shows the black square.
I think the alpha-channel is messed up in chrome.
May it works on chrome on mac.
Since it works on Safari and Android-Browser it should be a Chrome bug and not a Sencha-Touch bug.
edit: i guess its this chrome issue: http://code.google.com/p/chromium/is...etail?id=66372
a workaround is to embed the image as background instead as alpha-mask.
change the following lines in sencha-touch.css (line 4218 in debug.css):
.x-list-pullrefresh-arrow{
width:2.5em;
height:4.5em;
-webkit-mask:center center url('data:image/png;base64,iVBORw0..... no-repeat;
-webkit-mask-size:2em 3em;
-webkit-transform:rotate(0deg);
background-color:#111
}
to
.x-list-pullrefresh-arrow{
width:2.5em;
height:4.5em;
background:center center url('data:image/png;base64,iVBORw0..... no-repeat;
-webkit-transform:rotate(0deg);
}
regards
-
19 Apr 2011 5:21 AM #8Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
19 Apr 2011 5:23 AM #9
I have Chrome 11 beta on Win and it doesn't work. maybe there is a difference between chrome on win and chrome on mac...
my workaround should work on all devices i guess.
-
4 Jul 2011 11:37 PM #10
It shows the same faulty behaviour in a webview activity @ Android 3.1 which afaik is webkit, not chrome..
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-285
in
2.0.
Similar Threads
-
pull to refresh on NestedList
By christythomas in forum Sencha Touch 1.x: DiscussionReplies: 3Last Post: 14 Jun 2011, 2:37 PM -
Video component shows black screen
By arlo.carreon in forum Sencha Touch 1.x: DiscussionReplies: 1Last Post: 13 Jul 2010, 7:33 AM -
Black diamond with question mark shows over buttons... why?
By PaulyWolly in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 9 Feb 2010, 12:05 PM -
Why I get a square big box at the end of my html?
By petasis in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 14 Dec 2008, 1:25 AM


Reply With Quote