1.2.7
- fix: rtl
- fix: custom render node offset NaN
- fix: swipe behavior in non-webkit browsers
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
overlayparameter to PhotoView - fix: Remove css sourceMap
- fix: Fix the problem that the right button of the picture triggers dragging
1.0.0
- fix:
loadingElementposition 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
onScaleAPI call - fix:
scaleandrotatestates 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,rotateare 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-fitimage fill pattern animation - Added
speed,easingAPI - Other element animation
opacitydowngrade 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
looploop preview - Support for
rendercustom preview elements - Added parameter
maskOpacityto support custom background default transparency
break changes:
PhotoConsumername changed toPhotoViewDataTyperemoves theintrofield, removes the parameterintroVisibleviewClassNameparameter name changed tophotoWrapClassNameimageClassNameparameter name changed tophotoClassNamekeyinDataTypeis a required field
others:
Fix many details