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

It Crashes on Safari Version 12.0.3 #168

Open
zulqarnainhanif opened this issue Sep 17, 2020 · 3 comments
Open

It Crashes on Safari Version 12.0.3 #168

zulqarnainhanif opened this issue Sep 17, 2020 · 3 comments

Comments

@zulqarnainhanif
Copy link

The packages works fine on safari version 13.1 but it crashes on older versions like 12.0.3.
I am attaching a screenshot below for the error i get in the console.

Screenshot 2020-09-17 at 2 16 50 PM

@ealush
Copy link
Owner

ealush commented Sep 21, 2020

Interesting. Can you confirm that this indeed comes from the package itself? If so, do you know where and when exactly it happens? Because this looks to have come from a minified bundle, and I have no idea what's going on in there.

@zulqarnainhanif
Copy link
Author

Get this error as soon as we try to render the emoji picker.

Screenshot 2020-09-22 at 12 03 49 PM

@zaguiini-remo
Copy link

This is because this browser doesn't have IntersectionObserver yet. I'm getting the same error while running tests:

    TypeError: Cannot read property 'disconnect' of null <------ SEE?

      29 |
      30 | const getComp = () => {
    > 31 |   return render(
         |          ^
      32 |     <TestProvider store={setupStore({}, { chatV2: chatReducer })}>
      33 |       <ChatInput />
      34 |     </TestProvider>,

      at node_modules/emoji-picker-react/dist/webpack:/EmojiPicker/src/hooks/useIntersectionObserver.js:63:22

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

3 participants