Skip to content

Commit

Permalink
Fix handleScroll funtion not getting fired
Browse files Browse the repository at this point in the history
- IDK why the onScroll event is not working, but this fix will
  • Loading branch information
SafdarJamal committed Apr 18, 2022
1 parent 22918c1 commit 983f502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataTable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const DataTable = ({ isFetching, crimeReports, bottomRef }) => {
marginBottom={25}
border={true}
borderRadius={8}
onScroll={handleScroll}
onScrollCapture={handleScroll}
>
<Dialog
isShown={isDialogShown}
Expand Down

0 comments on commit 983f502

Please sign in to comment.