ly525 / material-vue-daterange-picker

a date-range-picker follows the Material Design spec powered by vue.js (alpha)
https://ly525.github.io/material-vue-daterange-picker/
MIT License
73 stars 20 forks source link

[Bug Report] When the date picker is not open by default, clicking on it's outer area will also triggers the change event #50

Closed ly525 closed 5 years ago

ly525 commented 5 years ago

Describe the bug When the date picker is not open by default, clicking on its outer area will also trigger the change event (当日期选择器默认是不打开的时候,点击其外部区域,也会触发 change 事件)

To Reproduce Steps to reproduce the behavior:

  1. <v-md-date-range-picker @change="handleChange" />
  2. if the date picker is hidden by default, clicking on its outer area will trigger change event(the handleChange event will be called)

Expected behavior do not emit change event when the picker is hidden if you click the outer area of the picker

Version Info (please complete the following information):

ly525 commented 5 years ago

:tada: This issue has been resolved in version 2.4.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: