Comparing master...main · riddle-com/embed
Commits on Aug 28, 2025
-
A V1 Riddle that was migrated to V2 but embedded with a V1 embed code caused an infinite loop. The code was optimized to ensure that an infinite loop can no longer occur under any circumstances. In the V1 embed code, we now check if a V2 event is being sent. If so, it indicates a migrated Riddle, and it will be initialized as a V2 Riddle.
plaub authored
Aug 28, 2025
Commits on Nov 20, 2025
-
feat: add embed configuration updates and scroll handling improvements
- Introduced `sendEmbedConfig` method to send updated embed configuration to the iframe. - Enhanced `InitComplete` and `UpdateHeight` methods to include embed configuration updates. - Implemented debounced scroll handling to optimize performance during scroll events. - Added `handleScrollRequest` function to manage scrolling based on requests from the iframe. - Updated message handling to process scroll requests and prevent site jumps effectively.
plaub committed
Nov 20, 2025