[QTI] Unmounting TipTap leaves its modal click listener attached
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- javascript, react
Direção de pesquisa
Start by tracing the TipTap formula and image dialog positioning and cleanup paths mentioned in the issue, then inspect the tests that mount the editor in Jest/jsdom. Reproduce the capturing mousedown registration and compare it with removals when unmounting before and after attachment. Done means neither dialog leaves a document listener after unmount; the issue states it is not open for contribution.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Target branch: unstable
Observed behavior
Unmounting an editor with its formula dialog open leaves a capturing mousedown listener on document. The image dialog uses the same positioning and cleanup code.
Expected behavior
Unmounting removes the editor's modal listeners and cancels pending registrations.
User-facing consequences
Repeated editor mounts and removals accumulate obsolete listeners that run on later clicks.
Steps to reproduce
- Spy on
document.addEventListeneranddocument.removeEventListener. - Mount TipTap, open an editor-made formula, and wait for the capturing
mousedownregistration. - Unmount without dismissing the dialog and compare the registrations with the removals.
Acceptance Criteria
- Unmounting before or after attachment leaves no document listener from the formula or image dialog.
Context
Reproduced in Jest/jsdom on unstable at 2713cbf33.
AI usage
Codex drafted the issue from the #6309 review. It checked the actual document registrations in a mounted TipTap editor and read the image-dialog cleanup path.
- Linguagem predominante
- JavaScript
- Estrelas
- 214
- Forks
- 327
- Merge médio
- 17h 5min
- PRs com merge (30d)
- 25
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de learningequality/studio
-
Community library status changes don't update `date_updated`Talvez já em andamento @ArpitaSamanta10 assumiu há 14 dias. Abertacommunity-contribution-in-progress DEV: backend good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
learningequality/studio#6414 · 8 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Activation key can activate a different account whose email differs only in caseTalvez já em andamento @Madhu-priya123 assumiu há 5 dias. AbertaDEV: backend
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
learningequality/studio#6410 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
DEV: backend
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
learningequality/studio#6409 ·
Mantenedores costumam responder em até 1 dia
-
DEV: backend
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
learningequality/studio#6407 ·
Mantenedores costumam responder em até 1 dia
-
Stripe webhook accepts events when no webhook secret is configuredTalvez já em andamento @adibmbrk assumiu há 14 dias. Abertacommunity-contribution-in-progress DEV: backend good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
learningequality/studio#6404 · 3 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de learningequality/studio
Issues semelhantes
-
Mend: dependency security vulnerability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
ManageIQ/manageiq-ui-service#2259 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
sagemathinc/sagebrush-agent#230 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
electerious/Ackee#411 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
[bug] 提瓦特记事本原石检测框宽度较窄Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
babalae/bettergi-scripts-list#3905 · 1 comentário ·
Mantenedores costumam responder em até 1 dia