BuilderIO / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. πŸŽ‰

Home Page:https://partytown.builder.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[🐞]in statement is not reliable when running through partytown

somfish94 opened this issue Β· comments

Describe the bug

was trying to use the 'in' statement before accessing a field. results are inconsisten when running through party town

Reproduction

none

Steps to reproduce

run 'ontouchstart' in window on main thread when result is expected as false.

run 'ontouchstart' in window on same device/browser in a function on partytown. result is returned as true.

Browser Info

Firefox

Additional Information

No response