We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you for a great tool. I have one question.
I ran the following code. (template contains the path to the SVG file)
template
const SvgComponent = ({ template }) => ( <Samy path={template}> <SvgProxy selector="#Image image" onElementSelected={e => (console.log(e))} /> </Samy> );
In the first rendering,
onElementSelected = {e => (console.log (e))}
Although the contents of it are displayed, After the second time (template contents change and re-rendered) onElementSelected will not be called.
onElementSelected
Why'onElementSelected` is not called?
Thank you.
The text was updated successfully, but these errors were encountered:
Thanks for the report. I just fixed this issue in the new repository https://github.com/hugozap/react-svgmt Please change your dependency to react-svgmt and change Samy to SvgLoader.
Sorry, something went wrong.
Thank you for fixing :)
No branches or pull requests
Thank you for a great tool.
I have one question.
I ran the following code.
(
template
contains the path to the SVG file)In the first rendering,
Although the contents of it are displayed,
After the second time (
template
contents change and re-rendered)onElementSelected
will not be called.Why'onElementSelected` is not called?
Thank you.
The text was updated successfully, but these errors were encountered: