emoji-picker-react
emoji-picker-react copied to clipboard
It Crashes on Safari Version 12.0.3
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.

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.
Get this error as soon as we try to render the emoji picker.

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