BuilderIO / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
https://partytown.builder.io
MIT License
12.85k stars 426 forks source link

Intercom integration is not working, scrollTop set property error #314

Open sameer-khaan opened 1 year ago

sameer-khaan commented 1 year ago

Describe the bug Whenever I click on start message it appears for mili seconds and boom "Uncaught TypeError: Cannot set property scrollTop of [object Object] which has only a getter" event error occurs.

To Reproduce Steps to reproduce the behavior:

  1. Click on Intercom icon
  2. Click on messages icon on bottom
  3. Now click on 'send us a message' button
  4. See error on console

Reproduction link https://codesandbox.io/s/happy-http-j1ob3c?file=/index.html https://j1ob3c.csb.app/

Expected behavior I want Intercom messages to work with partytown as it was working without it.

Partytown version What version of Partytown you are using, e.g. 0.7.3

Screenshots Screenshot from 2022-12-09 12-48-20

maplessmann commented 1 year ago

We are having the same issue!

@adamdbradley do you know what we can do to work around this error?

shaiq-dev commented 1 year ago

@sameer-khaan I checked your codesandox, you haven't forwarded the events. You can check the docs about event forwarding. This can be the cause for the error but I am not sure.

beltran120394 commented 1 year ago

We are experiencing an identical problem 😭

@adamdbradley, Do you have any suggestions on how we can resolve this error?

brunostjohn commented 4 months ago

same problem here :(