Skip to content

feat: Add enableInkbleed param from JS runtime - #449

Merged
zplata merged 2 commits into
mainfrom
bump-2.45.0
Oct 18, 2026
Merged

zplata merged 2 commits into
mainfrom
bump-2.45.0

Conversation

@zplata

@zplata zplata commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Bumps the JS runtime to 2.45.0, which adds the new inkbleed opt-in feature. It still remains an opt-in enableInkbleed?: boolean param here, and follows similar logic to the enableGPUCanvas flag. This means that setting enableInkbleed: true on useRive/<Rive /> will implicitly set useOffscreenRenderer: false.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The demo reports a successful toggle-off interaction as a failure.

1 open issue
What changed in this PR

Adds opt-in inkbleed support to the React bindings for JS runtime 2.45.0.

Changes:

  • Forwards enableInkbleed and disables offscreen rendering by default when enabled.
  • Documents renderer compatibility and extends regression coverage.
  • Adds an interactive Storybook example.
File Description
test/​useRiveGpuCanvas.test.tsx Moves existing tests into the main hook suite.
test/​useRive.test.tsx Adds inkbleed renderer-resolution tests.
src/​types.ts Documents inkbleed renderer defaults.
src/​hooks/​useRive.tsx Resolves renderer selection and warns on conflicts.
src/​components/​Rive.tsx Exposes and forwards the inkbleed prop.
package.json Updates runtime dependencies to 2.45.0.
package-lock.json Locks updated runtime packages.
examples/​src/​components/​Inkbleed.tsx Adds an interactive inkbleed demo.
examples/​src/​components/​Inkbleed.stories.ts Registers the demo in Storybook.

Review effort: Balanced

Comment thread examples/src/components/Inkbleed.tsx Resolved
@zplata
zplata requested a review from bodymovin October 17, 2026 20:35

@bodymovin bodymovin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@zplata
zplata merged commit 63c5fdd into main Oct 18, 2026
1 check passed
@zplata
zplata deleted the bump-2.45.0 branch October 18, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants