Skip to content

Commit 851f998

Browse files
committed
fix: Address iframe height adjustment issues in Bluesky component
- Resolved bugs related to height adjustments for iframes by refining message handling logic. - Improved the robustness of unique ID generation for iframe instances to prevent conflicts. - Enhanced existing tests to cover new scenarios and ensure consistent behavior across multiple iframe instances.
1 parent 4d87add commit 851f998

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.changeset/famous-boats-sing.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'sveltekit-embed': patch
3+
---
4+
5+
feat: Enhance Bluesky component with unique iframe IDs and height
6+
adjustment logic
7+
8+
- Implemented unique ID generation for each iframe instance to ensure
9+
proper height updates.
10+
- Updated message handling to only adjust height for the specific
11+
iframe that sent the message.
12+
- Added comprehensive tests to verify functionality for multiple
13+
instances and edge cases, ensuring robustness in height adjustments
14+
and iframe identification.

0 commit comments

Comments
 (0)