View Full Version : Indexbar Scrolling issue
23 Mar 2011, 1:19 AM
When having a Ext.List with indexBar: true, sometimes, the indexbar does not work until I scrolled the at least a pixel manually.
Tested wirh Chrome, iPhone 3+4
31 Mar 2011, 4:04 AM
I had the same issue. For me it was cause because the list was created with an empty store, and then the store was populated after the fact. Seemingly some internal height value wasn't getting populated after the store data changed UNTIL you scroll or the size/orientation changes. For me, it worked to just do the following after the new data was loaded in:
var h = list.getHeight();
Your mileage may vary. All the best,
12 Jul 2011, 2:03 AM
Thanks for posting your solution.
9 Aug 2011, 2:29 PM
@markguinn: I had the same issue and tried your solution but it did not work, what it do is point me to the right direction.
This is what i did, this needs to be done after the list is done loading.
if (list.scroller.offsetBoundary.top == 0)
Might be helpful to someone
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.