Skip to main content
Back to changelog

ZoomImage and event API consistency

vortex v0.2.0: ZoomImage and event API consistency

Introduced ZoomImage and aligned callback names with React conventions.

New features

  • Added ZoomImage for opening images in an enlarged view without leaving the page.

Bug fixes

  • Fixed Switch not forwarding inputAttributes.onChange when no onChange prop is provided.
  • Fixed ZoomImage handling of invalid image dimensions.

Breaking changes

  • Renamed public event callbacks from handle* to on* to match React conventions.
Before → After
// Before
<Switch handleChange={onChange} />

// After
<Switch onChange={onChange} />