BetterTyped/react-zoom-pan-pinch

Problems with onPanning option

aleksvalushko opened this issue · 0 comments

Describe the bug
I have a table in a component that is wrapped in TransformWrapper and TransformContent. I have added onPanning option to TransformWrapper, to which the handlePanning function is passed, it works, but after changing DOM (for example, adding a new column), it stops working

Expected behavior
Have to call onPanning after changing DOM

Desktop (please complete the following information):

  • Windows
  • Chrome
  • 118.0.5993.118