You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2021. It is now read-only.
[WEEX-657][iOS] Add a feature to control the offset of list attach to the bottom` (#1813)
I have add a '_isContentAttachBottom' attribute in WXListComponent to
controll whether open this feature. The Weex Component can pass the
‘_isContentAttachBottom’ variable from js to native by 'initWithRef'
and 'updateAttributes' function. The '_isContentAttachBottom' variable
will be analysed to a bool type and cached in WXTableView object.
When the WXTableView object is called the 'setFrame' function,if the
'_isContentAttachBottom' variable is true , then the 'contentOffset'
function of WXTableView object will be triggered to keep the content offset
at the bottom.When the WXTableView object is running the transition
animation, the 'setFrame' will be call every 16 msec . So when the animation
is excuting,the content offset of list will be alaways attached to the bottom .
feature: 657
0 commit comments