Skip to content

feat(tab-picker):add select event & optimize container scrolltop#436

Merged
xxyan0205 merged 2 commits intodevfrom
feat_tab_picker_opt
May 11, 2019
Merged

feat(tab-picker):add select event & optimize container scrolltop#436
xxyan0205 merged 2 commits intodevfrom
feat_tab_picker_opt

Conversation

@xxyan0205
Copy link
Copy Markdown
Collaborator

背景描述

  1. 目前只有一个全部tab选项选择完成的change事件,缺乏每一级tab选中事件 tab-picker组建希望可以通过solt自定义头部 #435
  2. 上一级tab选中时可能会滚动容器(ScrollView),选中某项后切换到下一级tab,容器未回到顶部

主要改动

  1. 选项选中时,触发select事件
  2. 选项选中后,ScrollView滚回顶部

需要注意

回归

@xxyan0205 xxyan0205 requested a review from moyus May 8, 2019 09:14
@xxyan0205 xxyan0205 merged commit c04f87f into dev May 11, 2019
@xxyan0205 xxyan0205 deleted the feat_tab_picker_opt branch May 26, 2019 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants