Instawork / hyperview

Server-driven mobile apps with React Native

Home Page:https://hyperview.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: t.doc.getElementById is not a function

hgray-instawork opened this issue · comments

This error is being thrown by Hyperview in services/behaviors/index/toggleIndicators when newRoot is an Element node. The getElementById method is only available to Document nodes.

  • Check for null newRoot
  • Try to retrieve the parent document
  • Catch and log any error without throwing an exception

Sentry issue: PRO-APP-YKP

Sentry issue: PRO-APP-SMP

Sentry issue: PRO-APP-YKQ

Sentry issue: PRO-APP-HT4

Sentry issue: PARTNER-APP-4ZJ

Sentry issue: PARTNER-APP-4ZH

Sentry issue: PARTNER-APP-4ZE