startSidebarExpanded not working in v14 #42
Labels
No labels
Compat
Breaking
Compat
Compatibility
Compat
Deprecation
Foundry/v14
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Non-Repro
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Foundry/oft#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In Foundry v14, the
renderSidebarhook used for this setting is not being called at all. This may require changing the hook to bereadyor some other render hookThis seems to be caused because of the
!game.readycheck in the render hook.Removing the not ready requirement does let the sidebar expand, however it takes quite a while before it happens. Which is caused by the scene transition duration, as it doesn't fire the render nor ready hook until the transition has finished completely.
If we can find a way to do this without requiring the render or ready hook, that would be best, but there's a chance that it won't be possible without a delay.
It might be worth checking if we can hook into
_renderHTMLor_insertHTMLto mutate it prior to it hitting the DOM, but that would require almost a complete reimplementation of the expansion logic, which I don't want to do if I can avoid it