tldraw / tldraw/obsidian-plugin

[BUG] Ran into error while trying switch to another tab and back

Open
#95 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
451
Forks
24
Avg merge
8m
Merged PRs (30d)
2

Description

Stak trace:

TypeError: props[handlerProp].push is not a function
    at eval (plugin:tldraw:41799:22)
    at Controller.bind (plugin:tldraw:41756:9)
    at Controller.effect (plugin:tldraw:41734:41)
    at commitHookEffectListMount (plugin:tldraw:23565:34)
    at commitPassiveMountOnFiber (plugin:tldraw:24813:17)
    at commitPassiveMountEffects_complete (plugin:tldraw:24781:17)
    at commitPassiveMountEffects_begin (plugin:tldraw:24771:15)
    at commitPassiveMountEffects (plugin:tldraw:24761:11)
    at flushPassiveEffectsImpl (plugin:tldraw:26145:11)
    at flushPassiveEffects (plugin:tldraw:26102:22)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce switching to another Obsidian tab and back, then start from the Controller.bind and Controller.effect entry points shown in the stack trace. Done means the tab switch no longer produces the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.