Element UI version
2.15.1
OS/Browsers version
Mac OS 11
Vue version
2.6.12
Reproduction Link
https://jsfiddle.net/ndyhb6em/
Steps to reproduce
Just go to https://element.eleme.io/#/en-US/component/calendar, the offical website
What is Expected?
The day that is clicked on should be highlighted
What is actually happening?
The previous day that is clicked on is highlighted
3条答案
按热度按时间fbcarpbf1#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
bd1hkmkf2#
@C0deZLee in my case, I can toggle this behaviour if I remove the v-model in
el-calendar
xesrikrc3#
Any update on this one?
Like previously stated by Adrian a v-model must be used for this to happen.
A simple repro step :
Result: The previous date is always selected. If we select 11 then the 10 is selected.
Can be related to this : https://stackoverflow.com/a/41125840
Hope it help to fix this one. We actually use it and need the v-model.