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

TypeError: e is not an Object. (evaluating '"style"in e') #18

Open
mjcampagna opened this issue Mar 5, 2021 · 1 comment
Open

TypeError: e is not an Object. (evaluating '"style"in e') #18

mjcampagna opened this issue Mar 5, 2021 · 1 comment

Comments

@mjcampagna
Copy link

Hi,

Our app is seeing errors logged from this package. Occurrences mostly look to be on iOS. Hopefully this would be an easy fix to the package.

TypeError: e is not an Object. (evaluating '"style"in e')
  File "webpack:///./node_modules/scroll-behavior-polyfill/dist/index.js", line 125, in s
            var target = "style" in inputTarget ? inputTarget : getScrollingElement();
  File "webpack:///./node_modules/scroll-behavior-polyfill/dist/index.js", line 484, in [anonymous]
            var behavior = getScrollBehavior(element, options);
  File "webpack:///./node_modules/scroll-behavior-polyfill/dist/index.js", line 475, in x
            onScrollWithOptions(getScrollToOptionsWithValidation(optionsOrX, y), element, kind);
  File "webpack:///./node_modules/scroll-behavior-polyfill/dist/index.js", line 576, in [anonymous]
                handleScrollMethod(this, "scrollTo", optionsOrX, y);
  File "https://app.joinswoop.com/auth/password_requests/dcfe98a0-b707-4cb4-855b-cbe172b856f7", line 1, in global code
@horttanainen
Copy link

@wessberg have you given up on this project?

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