Commit 61211263 authored by Roma Nikulin's avatar Roma Nikulin

Fix tab navigation (#18)

parent 6172f626
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -256,7 +256,11 @@ export default {
}
this.updateToCoreState();
},
keyUp: function keyUp() {
keyUp: function keyUp(e) {
if (e.keyCode === 9) {
// Preven change selection for Tab in
return;
}
this.updateToCoreState();
this.updateAfterAll = false;
},
......
{
"name": "vue-masked-input",
"description": "Masked input component for Vue.js 2.X",
"version": "0.5.0",
"version": "0.5.1",
"author": "niksmr",
"license": "MIT",
"homepage": "https://github.com/niksmr/vue-masked-input",
......
......@@ -230,7 +230,10 @@ export default {
this.updateToCoreState();
},
keyUp() {
keyUp(e) {
if (e.keyCode === 9) { // Preven change selection for Tab in
return;
}
this.updateToCoreState();
this.updateAfterAll = false;
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment