nativescript-community / nativescript-community/ui-drawer

Vue3 Variant removeChild method incorrectly named

Open
#35 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
26
Forks
10
PR merge metrics
No merged PRs in 30d

Description

https://github.com/nativescript-community/ui-drawer/blob/eb67b3b51f9bc1522d56ce6436a02334c0463817/src/ui-drawer/vue3/index.ts#L23-L25

Should name the methods called delete and .deleteChild .remove and .removeChild

Without this, if the ~rightDrawer child of <Drawer> is removed, we get errors about missing nodeOps.removeChild method.

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

Open src/ui-drawer/vue3/index.ts around lines 23-25 and inspect the Vue 3 node-operations method names. Reproduce or inspect the rightDrawer removal path, then confirm the methods use the names expected by nodeOps and that removing the child no longer reports a missing removeChild method.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.