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

instance.scroll({ y: "100%" }) probelm #110

Closed
amirhoseinsalehi opened this issue May 21, 2019 · 5 comments
Closed

instance.scroll({ y: "100%" }) probelm #110

amirhoseinsalehi opened this issue May 21, 2019 · 5 comments
Labels

Comments

@amirhoseinsalehi
Copy link

I've used "overlayscrollbars" without jquery in react & webpack project, initial phase of plugin was ok but when I want to scroll to bottom, this error is write on my page:

ReferenceError: $ is not defined

Screen Shot 2019-05-21 at 3 16 13 PM

this is my code: instance.scroll({ y: "100%" });

it's funny because I've used version without jquery but plugin is based on jquery.
please fix this issue.
tnx

@KingSora
Copy link
Owner

Good day!

Oh boy, thats a tiny and embarrassing mistake... Thanks!

@amirhoseinsalehi
Copy link
Author

tnx a lot..
when you fix it? :)

@KingSora
Copy link
Owner

As fast as possible, I'll update the NPM & Github repo today or tomorrow depending on my time.

@KingSora
Copy link
Owner

The problem should be fixed in v1.7.1, please confirm it!

@KingSora
Copy link
Owner

I'll close this issue since it should be fixed... If it's not the case and you still have this bug with version 1.7.1 please don't hesitate comment here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants