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

Scroll into view #70

Open
Libbum opened this issue Dec 7, 2017 · 1 comment
Open

Scroll into view #70

Libbum opened this issue Dec 7, 2017 · 1 comment

Comments

@Libbum
Copy link
Owner

Libbum commented Dec 7, 2017

#68 was merged without the inclusion of one cosmetic feature: scrolling the comment in question into view if it's outside the viewing pane. Seems like Elm doesn't have native capacity to do this, so will need to port out to js to get this done. However, it's not as straightforward as calling document.getElementById(myId).scrollIntoView() from app.js, something more in line with what Dom.Scroll does is needed.

@Libbum Libbum added this to the Version 0.2 milestone Dec 7, 2017
@Libbum Libbum added this to TODO in Version 0.2 Dec 7, 2017
@Libbum
Copy link
Owner Author

Libbum commented Dec 12, 2017

el.scrollIntoView({behavior:"smooth"}); may give us smooth animations in some browsers. info

@Libbum Libbum mentioned this issue Aug 23, 2018
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant