query icon indicating copy to clipboard operation
query copied to clipboard

Infinite Queries Repeat request

Open cfj1996 opened this issue 2 years ago • 3 comments

Describe the bug

Lots of duplicate requests when scrolling too fast

image

Your minimal, reproducible example

https://codesandbox.io/s/reverent-sanne-witpsy

Steps to reproduce

Select all the tables with the mouse and scroll down

Expected behavior

should output pageParam 0,1,2,3,4,5...

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

win10 Chrome 108.0.5359.125

Tanstack Query version

4.16.1

TypeScript version

No response

Additional context

No response

cfj1996 avatar Dec 21 '22 08:12 cfj1996

Steps to reproduce Select all the tables with the mouse and scroll down

Can you be a bit more specific please, I don't know what "select all tables" means. When I scroll down, the output I'm observing is:


pageParam 0
next 
pageParam 1
next 
pageParam 2
next 
pageParam 3
next 
pageParam 4

TkDodo avatar Dec 21 '22 11:12 TkDodo

@TkDodo I guess what he mean't is to highlight the content in the table. I guess by highlighting the rows from top to the bottom. But still it seems not to be the case on my end, because I couldn't be able to reproduce the issue. @cfj1996

rbluena avatar Dec 21 '22 13:12 rbluena

yeah I also tried "highlighting" as shown in the image, but I couldn't reproduce the issue. Maybe this is where a video would actually help 😅

TkDodo avatar Dec 21 '22 13:12 TkDodo

closing this for now because it's not reproducible and OP hasn't answered again.

TkDodo avatar Jan 15 '23 14:01 TkDodo

@TkDodo我猜他的意思不是要突出显示表格中的内容。我想通过突出显示从上到下的行。但在我看来情况并非如此,因为我无法重现该问题。@cfj1996

https://www.awesomescreenshot.com/video/14018898?key=003ba633335d05d6fc5e3c1ba4c1482c need brute force scrolling

cfj1996 avatar Jan 16 '23 10:01 cfj1996