Merge pull request #112 from Cyr-/hotfix-losing-scroll-position

Fix for sheet losing scroll position
This commit is contained in:
CK 2021-01-19 17:41:59 -05:00 committed by GitHub
commit 38c8941bef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,10 +33,10 @@ export default class ActorSheet5e extends ActorSheet {
static get defaultOptions() { static get defaultOptions() {
return mergeObject(super.defaultOptions, { return mergeObject(super.defaultOptions, {
scrollY: [ scrollY: [
".inventory .inventory-list", ".inventory .group-list",
".features .inventory-list", ".features .group-list",
".powerbook .inventory-list", ".powerbook .group-list",
".effects .inventory-list" ".effects .effects-list"
], ],
tabs: [{navSelector: ".tabs", contentSelector: ".sheet-body", initial: "description"}] tabs: [{navSelector: ".tabs", contentSelector: ".sheet-body", initial: "description"}]
}); });