Card.throwIn() error
- Dominant language
- JavaScript
- Stars
- 2.6k
- Forks
- 246
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I try to throwIn() a card, but I get the following error message:
`TypeError: Cannot read property 'childNodes' of null`
I want to create a "back" button like on Tinder, so on swipe left/right I save the current Card and when I click on
the back button I just call prevCard.throwIn(0,0)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the Card.throwIn() entry point and reproduce the reported prevCard.throwIn(0,0) sequence after a swipe. Trace the null value behind the childNodes error, then verify that using throwIn() for the back-button flow no longer throws and add regression coverage where the repository's existing tests allow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100