File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ except according to the terms contained in the LICENSE file.
6565 :progress =" uploadProgress" @clear =" clearFile"
6666 @animationstart =" animatePopup(true)"
6767 @animationend =" animatePopup(false)" />
68- <div class =" modal-actions" >
68+ <div ref = " actions " class =" modal-actions" >
6969 <button type =" button" class =" btn btn-primary"
7070 :aria-disabled =" csvEntities == null || uploading" @click =" upload" >
7171 {{ $t('action.append') }}
@@ -350,6 +350,11 @@ const resizeColumnUnlessAnimating = () => {
350350};
351351useEventListener (window , ' resize' , resizeColumnUnlessAnimating);
352352
353+ const actions = ref (null );
354+ watch (csvEntities, (value ) => {
355+ if (value != null ) nextTick (() => { actions .value .scrollIntoView (); });
356+ });
357+
353358watch (() => props .state , (state ) => {
354359 if (! state) {
355360 for (const table of tables) table .resetScroll ();
You can’t perform that action at this time.
0 commit comments