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

expand when anchor for folded group called & scroll after init #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HWienhold
Copy link
Contributor

@HWienhold HWienhold commented Nov 3, 2024

tried to do the second point of #76

Had somewhat trouble when calling anchor on not rendered page (also w/ master). Its a bit hard to test on diff.rs bc for some reason all calls url#... are seem to be rerouted to url/#... or sth like that idk1.

Beside this i am a bit confused: the snipped i used to scroll to the anchored element fails to find the object in question when called after initial rendering, so i used the workaround of changing the state in this case. Maybe you could give me some insight here?

Footnotes

  1. or maybe doing sth wrong idk - if not then this might be a bugreport

@xfbs
Copy link
Owner

xfbs commented Nov 7, 2024

I'll probably get around to reviewing this on the weekend, sorry for the delay!

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

Successfully merging this pull request may close these issues.

2 participants