MM-36588 rebind the correct post list to the native view (#5472)
This commit is contained in:
parent
794a056028
commit
683c6f5df7
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ export default class PostDraft extends PureComponent {
|
|||
};
|
||||
|
||||
updateNativeScrollView = (scrollViewNativeID) => {
|
||||
if (this.keyboardTracker?.current) {
|
||||
if (this.keyboardTracker?.current && this.props.scrollViewNativeID === scrollViewNativeID) {
|
||||
const resetScrollView = requestAnimationFrame(() => {
|
||||
this.keyboardTracker.current.resetScrollView(scrollViewNativeID);
|
||||
cancelAnimationFrame(resetScrollView);
|
||||
|
|
|
|||
Loading…
Reference in a new issue