pingdotgg / pingdotgg/t3code

[Bug]: preview annotation element picker does not work inside iframes

Open
#3,141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-triage
Dominant language
TypeScript
Stars
23k
Forks
5.9k
Avg merge
11h 14m
Merged PRs (30d)
357

Description

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Save index.html from https://gist.github.com/tarik02/956272c178eea492edd8fdc30c9b03fe and serve it with any webserver (for example npx serve).
  2. Open it in web-browser sidebar.
  3. Use annotation tool and try to hover/select region/paint with it on two regions - outside iframe and inside iframe.
Expected behavior

Elements inside iframe selected, painted over - just like normal elements around.

Actual behavior

Iframe blocks any interaction of annotation tool.

Impact

Major degradation or frequent failure

Version or commit

main @ e408b0106768dc9672e8f9ffcecc0e6897ac4d0a

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

Трансляція_20260618_140429.webm

Workaround

No response

Contributor guide

Open the contributing guide

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

Reproduce the issue using the linked index.html fixture served locally, then inspect the annotation picker implementation under apps/web. Compare selection, hover, and painting behavior outside and inside the iframe; done means iframe elements can be interacted with like normal elements.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.