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

Smooth scrolling #30

Open
cla6shade opened this issue Sep 17, 2024 · 0 comments · May be fixed by #31
Open

Smooth scrolling #30

cla6shade opened this issue Sep 17, 2024 · 0 comments · May be fixed by #31
Assignees
Labels
bug Something isn't working

Comments

@cla6shade
Copy link
Member

문제

버그..까지는 아니긴 한데, smooth scrolling이 일부 브라우저에서 작동하지 않습니다.

버그 맥락

크롬의 경우 chrome://flags에서 확인할 수 있는 smooth scroll 옵션이 기본적으로 비활성화(값은 default이지만 작동하지 않음)되어 있습니다. 따라서 해당 옵션을 사용자가 켜지 않는 이상 smooth scrolling이 작동하지 않을 것입니다.

올바른 동작

smooth scroll을 자바스크립트로 구현해야 합니다. requestAnimationFrame에 easing function을 적용하면 됩니다.

@cla6shade cla6shade added the bug Something isn't working label Sep 17, 2024
@nnoonjy nnoonjy self-assigned this Sep 17, 2024
@nnoonjy nnoonjy linked a pull request Sep 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants