Closed
Description
Describe the bug
Although we can define that esc does not close the calendar anymore, the event is still propagated.
To Reproduce
I set up an example: https://stackblitz.com/edit/vuepic-vue-datepicker-uvq8afr6?file=src%2Fcomponents%2FPlayground.vue
Expected behavior
Either esc-close="false"
should not propagate the ESC event, or even better, we should/could have a config to stop the propagation of all (or more) events.
Or allowStopPropagation
should also stop events other than only click ones.
As extra context, I have the date picker on a modal, so when the user closes the picker with esc, the event propagates and closes the modal as well.
Desktop & mobile (please complete the following information):
- Browser: chrome
- Library version: 11.0.1