You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using uncontrolled component atm, however would be nice to have:
edge mouseOver doesn't get canceled when mouse leaves the area (functions for navigation to be able to turn on / off + function to stop the navigation)
miniature is a little bit bogus (doesn't display svg in proper scale)
onClick to be called also in the PAN mode + mouse coordinates to be reported in the onPan event
that's it from my brain storming.
Other resolved:
prop to render custom controls => found sollution: use UncontrolledReactSVGPanZoom with custom controls and configure toolbarProps={toolbarProps}
const toolbarProps = {
position: 'none'
};
change background behind SVG => found sollution: background="transparent"
have some sort of control on how far the user can move the svg (limits sort of to the edges of the svg) => found sollution: preventPanOutside={true}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using uncontrolled component atm, however would be nice to have:
that's it from my brain storming.
Other resolved:
UncontrolledReactSVGPanZoom
with custom controls and configuretoolbarProps={toolbarProps}
Beta Was this translation helpful? Give feedback.
All reactions