Browse Source

fix: remove percent input focus

test/percent
Wing-Kam Wong 2 years ago
parent
commit
45f2c53dd3
  1. 8
      packages/nc-gui/components/project/spreadsheet/components/editableCell/PercentCell.vue

8
packages/nc-gui/components/project/spreadsheet/components/editableCell/PercentCell.vue

@ -64,13 +64,7 @@ export default {
return $listeners;
},
},
mounted() {
window.addEventListener('keypress', _ => {
if (this.$refs.percentInput) {
this.$refs.percentInput.focus();
}
});
},
mounted() {},
methods: {
checkPercentFormat(evt) {
evt = evt || window.event;

Loading…
Cancel
Save