taye / taye/interact.js

The checker function of a dropzone is throwing a typeError

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
12.9k
Forks
804
PR merge metrics
No merged PRs in 30d

Description

I tried to log one of the arguments that the checker function receives in a dropzone and I noticed when drilling down in the console that the arguments and caller attributes contained a typeError.

TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (<anonymous>:3:28)

System configuration

Interact.JS version 1.10.17
Browser name and version: Chrome 104.0.5112.101
Operating System: MacOS 12.4

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

The report names the dropzone checker function but no source file or test. Reproduce the behavior with Interact.JS 1.10.17 in Chrome 104, inspect the checker function's arguments in the console, and trace the dropzone entry point; done means confirming whether the TypeError originates in the library and verifying the resulting fix or explanation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.