-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
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
Bug when pane contains svg #19
Comments
@maxvanceffer
|
Thx... will try, this hack. But as i see, developers already have a pull request, which fix this error. |
…fix#19-yansern#15-yansern#14-yansern#7-yansern#17-yansern#1 * 'master' of https://github.com/vibou/vue-multipane: 0.96 fix issue with event names. Renamed: resize resizestart and resizestop since kebab case is not working either 0.96 0.96 0.96 Change version Change events name from camelcase to kebab-case # Conflicts: # demo/main.js # dist/vue-multipane.esm.js # dist/vue-multipane.js # dist/vue-multipane.min.js # src/multipane.js
Unfortunately it is not always possible to add Another solution would be to suppress the error in a component, page or layout file further up the component tree: errorCaptured(error, vm, info) {
if (error.message === 't.className.match is not a function') {
return false // prevent the error from propagating
}
} |
I have the same problem, and none of the solutions above helped. Any chance to fix this in the future? Thanks! |
Having the same issue here. I have another plugin inserting svgs on the page. Error appears when the svgs are clicked. EDIT: The solution from #6 pull request worked for me. |
阻止冒泡虽然能解决问题,但不太优雅; |
I have highchart inside of pane, and when click on it, there error raised with text:
TypeError: t.className.match is not a function
because t is path element and it's className is array, and really array has no function match.
VueComponent.onMouseDown
vue-multipane/dist/vue-multipane.esm.js:3:560
The text was updated successfully, but these errors were encountered: