Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/vast-impalas-fold.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/wise-keys-cough.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# react-frame-component

## 5.3.2

### Patch Changes

- f191d58: Add types condition to package.json exports to fix TypeScript resolution with TSGo and modern ESM tools
- 1820bc3: ## Fix race condition in getMountTarget() (issue #250)

Fixed "Cannot read properties of null" errors when `initialContent` changes rapidly by adding null checks for `doc` and `doc.body` in `getMountTarget()`.

### Changes
Comment on lines +8 to +12
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog entry includes Markdown heading markers (## / ###) inside a list item (- 1820bc3: ## ... and the indented ### Changes). This renders as nested headings inside the bullet and is inconsistent with the surrounding changelog format (e.g., 5.3.1). Consider converting these to plain text (e.g., remove the extra ##/### and keep the explanation as normal paragraphs / sub-bullets) for consistent rendering.

Suggested change
- 1820bc3: ## Fix race condition in getMountTarget() (issue #250)
Fixed "Cannot read properties of null" errors when `initialContent` changes rapidly by adding null checks for `doc` and `doc.body` in `getMountTarget()`.
### Changes
- 1820bc3: Fix race condition in getMountTarget() (issue #250)
Fixed "Cannot read properties of null" errors when `initialContent` changes rapidly by adding null checks for `doc` and `doc.body` in `getMountTarget()`.
**Changes:**

Copilot uses AI. Check for mistakes.
- **src/Frame.jsx**: Added null check in `getMountTarget()` to handle cases when iframe document is temporarily unavailable during rapid rerenders

## 5.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-frame-component",
"version": "5.3.1",
"version": "5.3.2",
"type": "module",
"description": "React component to wrap your application or component in an iFrame for encapsulation purposes",
"main": "dist/react-frame-component.umd.js",
Expand Down
Loading