scroll-behavior-polyfill icon indicating copy to clipboard operation
scroll-behavior-polyfill copied to clipboard

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

Open mjcampagna opened this issue 3 years ago • 1 comments

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

mjcampagna avatar Mar 05 '21 18:03 mjcampagna

@wessberg have you given up on this project?

horttanainen avatar Apr 20 '21 07:04 horttanainen