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

input properties are not working #255

Open
AkshayRaut1321 opened this issue Mar 27, 2020 · 1 comment
Open

input properties are not working #255

AkshayRaut1321 opened this issue Mar 27, 2020 · 1 comment

Comments

@AkshayRaut1321
Copy link

AkshayRaut1321 commented Mar 27, 2020

  • I'm submitting a ...

    • [x ] bug report
  • What is the current behavior?
    Basic example is working that doesn't need any configuration using Input properties. But when I set any property then it doesn't change anything as if the property was not applied at all.

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem you can use the demo site as an example or via https://plnkr.co
    Try using this markup and since scrollbar-hidden is set to true, I expected the horizontal scrollbar to hide but it wasn't hidden. Similarly, snap-duration is not working. And based on this, maybe other properties need a re-check.

HTML:
<drag-scroll [scrollbar-hidden]="true">
<img drag-scroll-item [src]="images[0]" />
<img drag-scroll-item [src]="images[1]" />
<img drag-scroll-item [src]="images[2]" />
</drag-scroll>

  • What is the expected behavior?
    When I set any property such as scrollbar-hidden or snap-duration then the component should behave based on the set values.

  • What is the motivation / use case for changing the behavior?
    It's expected as part of the documentation of the library.

  • Please tell us about your environment:
    Chrome: v80
    Angular: v8.1.0
    TypeScript: 3.4.3
    ngx-drag-scroll: ^8.0.0-beta.2,

@epiphanizer
Copy link

Also seeing this behavior with scrollbar-hidden.

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