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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user