-
-
Notifications
You must be signed in to change notification settings - Fork 298
Open
Description
Describe the bug
When using zoomIn(0.25) with smooth: true enabled in TransformWrapper, the resulting scale overshoots the expected increment. For example, instead of increasing by exactly 0.25, the scale jumps by approximately 0.28.
To Reproduce
Steps to reproduce the behavior:
- Wrap content in
- Call zoomIn(0.25) from a button or event
- Observe the resulting scale in onTransformed or useTransformEffect
- See that the scale is not exactly +0.25 from the previous value
Expected behavior
The scale should increase by exactly the defined step (e.g. +0.25) when zoomIn(step) is called, regardless of smoothing.
Screenshots


Desktop (please complete the following information):
- MacOS: 15.6.1 (24G90)
- Chrome
- 139.0.7258.155
Metadata
Metadata
Assignees
Labels
No labels