mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
The Pexels picker could repeatedly fetch the same/empty pages when changing filters such as Square and scrolling to the bottom. This happened because the intersection observer kept firing while the last item stayed visible, pagination did not track whether more results were available, and duplicated videos could be appended. This patch: - uses Pexels 1-based pagination - tracks whether more videos are available from total_results - prevents concurrent observer fetches - resets pagination on search/filter changes - deduplicates videos by id before: https://github.com/user-attachments/assets/f5ca5675-b958-41a7-a4b8-fc92a5576a89 after: https://github.com/user-attachments/assets/590fc103-9dc9-4a85-b95e-3d1d9f9eefb6 --------- Co-authored-by: Baptiste Arnaud <baptiste@typebot.io> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| builder | ||
| docs | ||
| landing-page | ||
| viewer | ||
| workflows | ||