1.2.6
- fix: On mobile, the image width and height units are converted in the framework of the rax class
1.2.5
- fix: Chrome version 125 or later cannot be dragged issue
1.2.4
- feat: The PhotoView subcomponent supports exporting refs
- fix: The isActive attribute judgment issue
1.2.3
feat: Provides onClick
and onDoubleClick
optional binding events
1.2.1
fix: Custom rendering example fixes fix: maskOpacity set null background does not respond to drop-down changes
1.2.0
feat: configurable react portal container
1.1.2
fix: Force LTR only
1.1.1
fix: Type
1.1.0
- feat: Added
overlay
parameter to PhotoView - fix: Remove css sourceMap
- fix: Fix the problem that the right button of the picture triggers dragging
1.0.0
- fix:
loadingElement
position problem - fix: Image enlargement limit optimization
- fix: In a few models, the picture cannot be previewed
1.0.0-beta.8
- fix: Inaccurate zoom position after
onScale
API call - fix:
scale
androtate
states are not preserved after resizing image removal
1.0.0-beta.7
- fix: Long image mode bug fixes and new examples
- fix: Elastic touch animation optimization
- fix:
scale
,rotate
are empty problem - style: Bundle size optimization
1.0.0-beta.6
- feat: Add API
afterClose
- fix: Detail fix
1.0.0-beta.5
fix: Cover animation detail adjustment
1.0.0-beta.4
features:
- Perfect connection open and close animation
- Automatically recognize
object-fit
image fill pattern animation - Added
speed
,easing
API - Other element animation
opacity
downgrade handling
break changes:
- Adjust image centering logic
- Change CSS a little name
fix:
- Import error in
next.js
- Turn off animation pointing problem after zooming in
1.0.0-beta.0
Refactoring logic based on hooks
features:
- Simulate physical scrolling preview with bounce
- Delay update width and height after resizing
- Support
loop
loop preview - Support for
render
custom preview elements - Added parameter
maskOpacity
to support custom background default transparency
break changes:
PhotoConsumer
name changed toPhotoView
DataType
removes theintro
field, removes the parameterintroVisible
viewClassName
parameter name changed tophotoWrapClassName
imageClassName
parameter name changed tophotoClassName
key
inDataType
is a required field
others:
Fix many details