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

fix: affix demo not working due to doc site layout change #2007

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

cpylua
Copy link
Collaborator

@cpylua cpylua commented Feb 6, 2023

Doc site changed layout in v10 a while ago. Sidebar and content have separate scroll containers in new layout, so demo scroll container is no longer window.

This PR fixes this issue using getAffixContainer to set scroll container explicitly.

Closes #2003

@cpylua cpylua merged commit b965f03 into master Feb 6, 2023
@cpylua cpylua deleted the hotfix/affix-not-working branch February 6, 2023 06:59
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.

Affix 吸顶失效
1 participant