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: 提升 date-picker 选择日期用户体验 #71

Merged
merged 1 commit into from
Sep 1, 2020

Conversation

gd4Ark
Copy link

@gd4Ark gd4Ark commented Aug 13, 2020

Why

在日期范围选择框已有值的情况下,希望只修改任意一边的日期,但目前每次修改都需要重新选择开始日期和结束日期,造成用户体验不佳。

How

image

Preview

before

2020-08-13 14-03-18

after

2020-08-13 14-03-18-2

@auto-add-label auto-add-label bot added the enhancement New feature or request label Aug 13, 2020
@levy9527
Copy link

第一次选中后,不应该关闭弹窗;关闭弹窗只有两种方式:

  1. 用户进行了两次点击
  2. 点击了选择框的外层区域

@gd4Ark gd4Ark force-pushed the feat/date-picker-select-ue branch from 81985bf to 393be45 Compare August 14, 2020 07:04
@netlify
Copy link

netlify bot commented Aug 14, 2020

Deploy preview for femessage-element ready!

Built with commit e2bbcb3

https://deploy-preview-71--femessage-element.netlify.app

@gd4Ark gd4Ark force-pushed the feat/date-picker-select-ue branch 3 times, most recently from dd4dd08 to f50b7f6 Compare August 18, 2020 08:04
@gd4Ark gd4Ark force-pushed the feat/date-picker-select-ue branch from f50b7f6 to e2bbcb3 Compare August 27, 2020 09:19
@@ -724,10 +725,11 @@ export default {
this.userInput = initialValue === '' ? null : initialValue;
},

handleFocus() {
handleFocus(currentInput) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inputType

@levy9527 levy9527 merged commit 19a59db into FEMessage:dev Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants