Closed hyesungoh closed 2 years ago
Thanks for contribution!
I am not sure that you approach is flexible and salable in case when (overflow also can be auto
, scroll
, clip
)
it developer need to apply custom overflow
he/she can create a new css class, and pass it
<QuickPinchZoom className='myClassWithOverflow'/ >
Oh, I did not know this approach!
<QuickPinchZoom className='myClassWithOverflow'/ >
Thanks to answer me :D I will close this pr
Hello there
I'm using your project with love.
when I using this project, I thought it would be nice to have
overflow
props forwrapper div
.So I append
overflow
option toPinchZoom
component.as is
https://github.com/retyui/react-quick-pinch-zoom/blob/d5615059cabb8563ab04e9df7c6f41fe04425b77/src/PinchZoom/component.tsx#L990-L995
always
overflow: hidden
at thisdiv
to be
So I append
overflow
option (boolean type).and handle this at styles (convert to function) d6b464125192ab9f92f8fce4a79f97baefdbdc6f
more type for
overflow
?I think
overflow
option can define to below type.What do you think about it?