Skip to content

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

@mjcampagna

Description

@mjcampagna

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions