File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/primevue/src/datatable Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -401,20 +401,22 @@ export default {
401401 }
402402 }
403403 },
404- moveToPreviousCell (event ) {
404+ async moveToPreviousCell (event ) {
405405 let currentCell = this .findCell (event .target );
406406 let targetCell = this .findPreviousEditableColumn (currentCell);
407407
408408 if (targetCell) {
409+ await this .$nextTick ();
409410 invokeElementMethod (targetCell, ' click' );
410411 event .preventDefault ();
411412 }
412413 },
413- moveToNextCell (event ) {
414+ async moveToNextCell (event ) {
414415 let currentCell = this .findCell (event .target );
415416 let targetCell = this .findNextEditableColumn (currentCell);
416417
417418 if (targetCell) {
419+ await this .$nextTick ();
418420 invokeElementMethod (targetCell, ' click' );
419421 event .preventDefault ();
420422 }
You can’t perform that action at this time.
0 commit comments