[bug][migration] Drawers e modais abrem sem conteúdo e travam a interface
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 2
- Avg merge
- 20h 12m
- Merged PRs (30d)
- 36
Description
Em migrações Fresh → TanStack, drawers e modais abrem com fundo/overlay preto mas sem conteúdo interno. Após abrir, qualquer clique trava a interface completamente.
Comportamento:
- Acionar drawer (login, menu mobile) ou modal
- Overlay/fundo preto aparece, conteúdo não renderiza
- Interface trava — nenhum clique responde
Causa raiz: o signal de controle de abertura é lido com .value diretamente no render React, o que não dispara re-render. O overlay monta (estado booleano funciona via efeito colateral) mas o conteúdo interno fica estático.
Fix: trocar leitura direta de .value por useSignalValue em todos os componentes de drawer/modal.
Impacto: bug recorrente em todas as migrações — afeta LoginDrawer, MobileMenu, e qualquer modal com conteúdo controlado por signal.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Find the LoginDrawer, MobileMenu, and other drawer or modal components involved in Fresh-to-TanStack migrations, then locate render-time reads of the opening signal with direct .value access. Replace those reads with useSignalValue, and verify that drawer and modal content renders and that clicks remain responsive after opening.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100