You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
basically, I used the hook to listen columnFilter and call the API, but it seemed when enable enableColumnVirtualization, the hook will be called when I scroll the horizontal scrollbar.
reproducible: yes
workaround: I use usePrevious to judge if content of columnFilter is the same to avoid du-call the useEffect, in my own project
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
basically, I used the hook to listen columnFilter and call the API, but it seemed when enable enableColumnVirtualization, the hook will be called when I scroll the horizontal scrollbar.
ps: should filter some parameter first
Beta Was this translation helpful? Give feedback.
All reactions