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; return $listeners;
}, },
}, },
mounted() { mounted() {},
window.addEventListener('keypress', _ => {
if (this.$refs.percentInput) {
this.$refs.percentInput.focus();
}
});
},
methods: { methods: {
checkPercentFormat(evt) { checkPercentFormat(evt) {
evt = evt || window.event; evt = evt || window.event;

Loading…
Cancel
Save