The loadMore functionality uses the history array length as the offset, but this could cause issues if items are added to the beginning of the history array (via clipboard-update events) while the user is viewing older items. New items would shift the offset, potentially causing duplicate items or skipped items when loading more. Consider using a timestamp-based pagination approach instead.
Originally posted by @Copilot in #19
Originally posted by @Copilot in #19