ptomasroos/react-native-scrollable-tab-view

scrollview jumps on orientation change

Open

#518 建立於 2017年1月3日

在 GitHub 查看
 (9 留言) (0 反應) (0 負責人)JavaScript (2,276 fork)batch import
help wanted

倉庫指標

Star
 (6,912 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

When you enable orientation change the lock itself on pixel position, all the tabs rerender to fit the new width, but scroll is locked so in the view you see different tab than before, the animation slides to the new position of selected tab. See recording rotationbug

The code with minimal implementation to reproduce the bug is available on github.com/lenkavon/rn-orientation-playground

There is also generalised question on stackoverflow

貢獻者指南