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

Add support of horizontal scrolling #106

Open
Stas-tolpekin opened this issue Oct 25, 2018 · 1 comment
Open

Add support of horizontal scrolling #106

Stas-tolpekin opened this issue Oct 25, 2018 · 1 comment

Comments

@Stas-tolpekin
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report 
[x] Feature request
[ ] Documentation issue or request

Current behavior

The horizontal position of the target element is ignored by this library

Expected behavior

If the element has horizontal offset and placed outside of container viewport, horizontal scrolling should happen like vertical scrolling. If the element needs to be scrolled by both axes, horizontal and vertical scrolling should happen at the same time.

What is the motivation / use case for changing the behavior?

In my team, there are cases where we need to place html elements outside the viewport not only by vertical axis (Y). This feature can make this library useful in more use-cases. Right now it is usefully only for lists.

Environment


Angular version: 6+
Your version of `@nicky-lenaers/ngx-scroll-to`: 1.1.1

Browser:
All supported
 
For Tooling issues:
- Node version: 8.9.4
- Platform:  Windows 10
@r0manchak
Copy link

r0manchak commented Apr 23, 2019

Hi!

Are there any updates regarding this issue?

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

2 participants