Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

在sam中调用exportImage方法,会导致图片选区功能失调

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

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the issue in SAM with exportImageClip and exportMaskImage alone, then compare the behavior after calling exportImage. Trace the entry points for exportImage, exportImageClip, and exportMaskImage to identify why selection often targets the whiteboard instead of an element. Done means image-region selection remains reliable when exportImage is used.

Written by the indexing model from the issue text.

Description

在sam中如果只调用了exportImageClip和exportMaskImage,图片分区选择功能一切正常,如果调用exportImage方法,图片选区功能失常,经常选择白板,无法选中具体元素。

Dominant language
TypeScript
Stars
111
Forks
23
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from antvis/SAMJS

All issues in antvis/SAMJS

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.