[Bug Report] element-ui/packages/date-picker/src/panel/date. The custom event of Vue was not destroyed

ffscu2ro  于 2022-11-13  发布在  其他
关注(0)|答案(1)|浏览(189)

Element UI version

2.15.7

OS/Browsers version

window10/chrome

Vue version

2.6.14

https://jsfiddle.net/mathphysar/j3kue6xn/

Steps to reproduce

1.在Grid演示表格中单击选中某个单元,按方向键可切换选中的单元格
2.点击Date列的某个单个元,弹出日期选择框
3.点击其它单元格,日期选择框关闭,此时按方向键无法切换选中的单元格

What is Expected?

日期弹窗关闭后,表格可以响应方向键事件

What is actually happening?

日期弹窗关闭后,表格无法响应方向键事件

bn31dyow

bn31dyow1#

Translation of this issue:

Element UI version

2.15. seven

OS/Browsers version

window10/chrome

Vue version

2.6. fourteen

https://jsfiddle.net/mathphysar/j3kue6xn/

Steps to reproduce

  1. Click to select a cell in the grid presentation table, and press the direction key to switch the selected cell
  2. Click a single element in the date column to pop up the date selection box
  3. Click other cells and the date selection box closes. At this time, pressing the direction key cannot switch the selected cells

What is Expected?

After the date pop-up window is closed, the table can respond to the direction key event

What is actually happening?

After the date pop-up window is closed, the table cannot respond to the direction key event

相关问题