scrollToSection is not work?
this.ExpandableList.scrollToSection({ animated:true, section:4 });
is not work,how can I fix it?
I have the same problem. I haven't been able to understand the logic behind the calculation of the item layout (in function _getItemLayout). Since length : offset / index, then the length of the first item is Infinity and therefore any further offset calculation will be Infinity. Considering the _scrollToSection base its calculation in offsets values, you always will be scrolled to the end of the list regardless of the section value.
So far the only idea I have to solve it is to change the logic of _getItemLayout using fixed height values for rows and sections. In case of dynamic sections' lengths, an additional logic is required to calculate each height.
@wolfjobs @kanna99o I often work overtime recently, did not see issue, this should be my bug, I will check this component in this weekend, you need to wait a few days, sorry
@wolfjobs I looked over the components again, but I didn't find any problems, could you show me your code,
@kanna99o _getItemLayout just to be like the official website said optional optimization, and not to achieve the calculation list item height, if you want to know how I calculate height, should pay attention to each item view using the _itemlayout method