keymanapp / keymanapp/keyman

bug(web): `Error: The HelpPage root element has not yet been inserted into the DOM.` in web debugger

Open
#11,908 2 comments 0 reactions 0 assignees View on GitHub
bug web/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

Sentry Issue: [KEYMAN-DEVELOPER-224](https://keyman.sentry.io/issues/5562573600/?referrer=github_integration)

```
Error: The HelpPage root element has not yet been inserted into the DOM.
at _HelpPageView.postInsert (@keymanapp/keyman/web/src/engine/osk/src/components/helpPageView.ts:24:13)
at _OSKView.loadActiveKeyboard (@keymanapp/keyman/web/src/engine/osk/src/views/oskView.ts:770:13)
at set _OSKView.activeKeyboard (@keymanapp/keyman/web/src/engine/osk/src/views/oskView.ts:564:10)
at set KeymanEngine.osk (@keymanapp/keyman/web/src/engine/main/src/keymanEngine.ts:353:15)
at setOSK (/test.js:240:16)
...
(2 additional frame(s) were not displayed)
```

Not clear at this point if this is an interaction with the web debugger or something else. Seems to happen only when we have a keyboard with `store(&KMW_HELPFILE)` and no `store(&VISUALKEYBOARD)` line. Can happen on first load or when switching to a different desktop platform in the web debugger.

17.0.326

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.