The page is not started at the top when navigating to a page that uses @tanstack/virtual >= v3.0.0-beta.61
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- react, typescript
- Domínio
- frontend
Direção de pesquisa
Comece pelo exemplo mínimo reproduzível no CodeSandbox vinculado, especialmente app/page.tsx, e reproduza a navegação depois de rolar para baixo. Compare o comportamento com as versões do @tanstack/virtual anteriores a v3.0.0-beta.61 e a partir de v3.0.0-beta.61, usando o pull request upstream vinculado como contexto. Está concluído quando navegar para Dashboard faz com que a página comece no topo.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Describe the bug
The page is not started at the top when navigating to a page that uses @tanstack/virtual >= v3.0.0-beta.61.
It looks like this commit is the problem: https://github.com/TanStack/virtual/pull/592
Your minimal, reproducible example
https://codesandbox.io/p/devbox/next-js-react-virtual-wzxqt4?file=%2Fapp%2Fpage.tsx
Steps to reproduce
- Scroll Down
- click to link Dashboard
- BUG: the page is not started from the top
Expected behavior
the page should be started at the top.
https://github.com/TanStack/virtual/assets/300961/28c8ddb0-5f9a-48ec-beca-c9e1a88931d6
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
- Linux, macOS
- Chrome
tanstack-virtual version
= v3.0.0-beta.61
TypeScript version
5.2.2
Additional context
No response
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
- Linguagem predominante
- TypeScript
- Estrelas
- 7.2k
- Forks
- 495
- Merge médio
- 23h 16min
- PRs com merge (30d)
- 19
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um 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 TanStack/virtual
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
Mantenedores costumam responder em até 1 dia
-
With `useScrollendEvent`, scrollToIndex and scrollToEnd stop short when the target moves while they settleTalvez já em andamento @Darkatse assumiu há 8 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
Mantenedores costumam responder em até 1 dia
-
svelte-virtual renders no rows when the scroll element is bound after the store subscribesTalvez já em andamento @clean99 assumiu há 13 dias. Aberta
Dificuldade 4/5 1-2 dias Facilidade para iniciantes 35/100
Mantenedores costumam responder em até 1 dia
-
anchorTo: 'end' does not keep the reading position when only paddingStart changesTalvez já em andamento @duongynhi000001-crypto assumiu há 12 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 30/100
Mantenedores costumam responder em até 1 dia
-
anchorTo: 'end' loses the end when the scroll element shrinksTalvez já em andamento @langleyd assumiu há 41 dias. Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
Todas as issues de TanStack/virtual
Issues semelhantes
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 83/100
gofish-graphics/gofish-graphics#1384 ·
Mantenedores costumam responder em até 1 dia
-
adapter bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
Olanetsoft/agent-lookout#353 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
vicharanashala/vibe#1542 ·
Mantenedores costumam responder em até 1 dia
-
bug chore P2 size:XS
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
josephfung/curia#2666 ·
Mantenedores costumam responder em até 1 dia
-
bug good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
devarshishimpi/codra#178 ·
Mantenedores costumam responder em até 1 dia