Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(number-keyboard): add prop isHideConfirm & slot #475

Merged
merged 4 commits into from
Jun 22, 2019

Conversation

xxyan0205
Copy link
Collaborator

@xxyan0205 xxyan0205 commented Jun 20, 2019

背景描述

  1. 在一些使用场景中,确认键点击动作是否自动隐藏键盘可隐藏包含着业务逻辑中,如[feature request] 数字键盘 $_onConfirm 方法关闭可控 #474
  2. 键盘需添加自定义内容
  3. 键盘的上边框,可能会导致误触点击 NumberKeyBoard 在chrome中输出问题 #477

主要改动

  1. 增加属性isHideConfirm,用来控制确认键点击动作是否自动隐藏键盘
  2. 增加slot,用来添加自定义内容
  3. 阻止边框被点击 pointer-events none

需要注意

@xxyan0205 xxyan0205 merged commit 73165ec into dev Jun 22, 2019
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.

1 participant