For 101 total items with 10 items per page, let PaginationControl be constructed with the following options:
{
startBlockMaxLength: 7,
middleBlockMaxLength: 5,
endBlockMaxLength: 7,
defaultTotalPages: Math.ceil(101 / 10),
}
In this case, we have total pages = 11. Thus, canPaginate() will yield true.
Issue: With canPaginate() giving true and both isInStartBlock()and isInEndBlock() yielding true for pages 5, 6 and 7,
we can have these pages appear in both starting and ending blocks.