Open Chryseis opened 6 years ago
children Component setState, parent Component 's componentDidUpdate will not enter. it can't tigger refresh
I found a hack solution, in my parent component add a funciton that will setState, then push it to children component,when children component setState,invoking parent's funciton, enter parent's componentDidUpdate, tigger refresh.
when children component changed, react-iscroll can't recalculate the height.
source code:https://github.com/Chryseis/elemDemo4React