-
1 Nov 2012 3:55 AM #1
Regression for Pull Refresh Plugin in 2.1 RC2
Regression for Pull Refresh Plugin in 2.1 RC2
REQUIRED INFORMATIONExt version tested:
- Sencha Touch 2.1 RC2
- Chrome Canary 25
- html
- If List is empty and 'No Items... ' is displayed Pull Refresh Plugin does not work
- create a List with empty content
- list has has to be pullable
- Sencha 2.0.1 works like a charm
HELPFUL INFORMATIONScreenshot or Video:Code:change in file examples/pullrefresh/app.js extraParams: { q: 'sencha' }, to ->>>> extraParams: { q: 'sencha is pretty bug-free framework' },- attached
- none
- not provided
- only default ext-all.css
- custom css (include details)
- WinXP Pro
-
1 Nov 2012 6:18 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Thanks for the report! I have opened a bug in our bug tracker.
-
11 Nov 2012 2:21 PM #3
Temporary workaround:
:
Code:emptyText: "" listeners: refresh: (c) -> if c.getStore().getCount() is 0 and c.getPlugins()[0]?.element?.dom?.childNodes[1]? c.getPlugins()[0].element.dom.childNodes[1].style.display = 'block' plugins: [ { xclass: 'Ext.plugin.PullRefresh' pullTpl: [ '<div class="x-list-pullrefresh">', '<div class="x-list-pullrefresh-wrap">', '<img src="resources/images/tarsier.png" width="45" height="24" />', '<h3 class="x-list-pullrefresh-message">{message}</h3>', '<div class="x-list-pullrefresh-updated">last updated: <span>{lastUpdated:date("m/d/Y h:iA")}</span></div>', '</div>', '</div>', "<div class='x-list-emptytext' style='display:none;'>No records.</div>" ].join '' } ]
-
27 Nov 2012 9:27 AM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Haarlem, Netherlands
- Posts
- 1,235
- Vote Rating
- 5
Thanks for the report. This has been fixed for the next release.
-
8 Jan 2013 5:20 AM #5
What does it mean "next release" in this case? 2.2.0 alpha? Because it still doesn't work in 2.1.0.
BTW. Is it possible to see a commit that fixed this issue, so that I can fix it without updating to 2.2.0 alpha?
EDIT: It looks like it was fixed in 2.1.1 release.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-3652
in
Sprint 28.


Reply With Quote
