Make sure the page has loaded (including all images) before scrolling to hash
This commit is contained in:
@@ -211,7 +211,8 @@ export class Wiki extends React.Component<WikiProps, WikiState> {
|
||||
{
|
||||
articlesBySection,
|
||||
},
|
||||
() => {
|
||||
async () => {
|
||||
await utils.onPageLoadAsync();
|
||||
utils.scrollToHash(this.props.location.hash, configs.SCROLL_CONTAINER_ID);
|
||||
},
|
||||
);
|
||||
|
Reference in New Issue
Block a user