Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you provide a lifecycle for "onContentRenderFinished"? #4452

Open
4 tasks done
T-miracle opened this issue Dec 31, 2024 · 0 comments
Open
4 tasks done

Can you provide a lifecycle for "onContentRenderFinished"? #4452

T-miracle opened this issue Dec 31, 2024 · 0 comments

Comments

@T-miracle
Copy link

Is your feature request related to a problem? Please describe.

I need a lifecycle that allows executing some tasks after the content has finished loading on the page.

Describe the solution you'd like

I am currently customizing a theme, where the <Content/> component is wrapped inside the <OverlayScrollbarsComponent>, which is a custom scrollbar component. There's a route link that contains anchor information, and I need to call the scrollTo method after the <Content/> is fully rendered on the page. However, the onContentUpdated lifecycle does not meet this requirement. Is there a similar lifecycle like onContentRenderFinished that can be used?

Describe alternatives you've considered

No response

Additional context

No response

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant