Noticed today that the
pageSize variable for tables appears to be off by one at certain table heights.
Specifically if a table is 8 units tall, the table will render 10 items in the list but report a pageSize of 9.
You can recreate this by creating a blank Retool app, then adjusting query1 to query from the credits table (the default table has only 9 elements), then adjusting the height of the table to 8 units tall. If you then look at the table’s component state, you’ll notice the pageSize is 9 instead of 10.
I’ve included a sample image below.