1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

#115 scroll record to beginning

This commit is contained in:
lana-k
2024-01-06 20:36:43 +01:00
parent d949629ee4
commit 4c8401f32f

View File

@@ -148,6 +148,7 @@ export default {
if (this.selectedCellElement && scrollTo) { if (this.selectedCellElement && scrollTo) {
this.selectedCellElement.scrollIntoView() this.selectedCellElement.scrollIntoView()
this.selectedCellElement.closest('.table-container').scrollTo({ left: 0 })
} }
this.$emit('updateSelectedCell', this.selectedCellElement) this.$emit('updateSelectedCell', this.selectedCellElement)