imazen / imazen/cropimage

TypeError: Cannot read property 'getWidgetSize' of undefined

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
14
Forks
4
PR merge metrics
No merged PRs in 30d

Description

When setting X Y H W, then you get TypeError: Cannot read property 'getWidgetSize' of undefined.
(just when a preview image is configured)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the error with a preview image configured, then set X, Y, H, and W while tracing the call to getWidgetSize. The work is done when those settings no longer raise the TypeError and the crop dimensions are applied correctly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.