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] Wrong position of toolbar when duplicate children component #2656
Comments
The same result you can get when trigger render instead of reset. |
@artf if you try on the demo is the same. Just drag the carousel and click on the slide. |
This is my temporary fix:
|
Thanks for the report @abozhinov I've seen this error somewhere in my logger but was never able to reproduce it. Obviously doing the check in the |
@artf I don't why there are no errors in codepen. Second paramter in console log is NULL. |
I think we would need more help to understand better what is really happening and in this period I'm quite busy with other non-GrapesJS-related stuff 😞 |
Probably I've found the issue, seems to be a bug with components containing scripts. Should be fixed in the next release |
When overwrite these two methods in 'select-comp' command everything works perfectly. `
|
Should be fixed https://github.com/artf/grapesjs/releases/tag/v0.16.12 |
I can't reproduce the toolbar issue anymore in the official demo. Without a reproducible demo, I can't do much |
Hi,
you can check this example: https://codepen.io/abozhinov/pen/XWbqjEJ
Steps to reproduce the problem:
[Error] TypeError: null is not an object (evaluating 'this.canvas.getHighlighter(t).style')
showHighlighter (grapes.min.js:2:263826)
updateToolsLocal (grapes.min.js:2:266937)
(anonymous function) (grapes.min.js:2:260549)
forEach
onHovered (grapes.min.js:2:260438)
m (grapes.min.js:2:22592)
v (grapes.min.js:2:22263)
h (grapes.min.js:2:20216)
(anonymous function) (grapes.min.js:2:22156)
set (grapes.min.js:2:24026)
setHovered (grapes.min.js:11:128341)
handleHover (grapes.min.js:2:351496)
I (grapes.min.js:2:9008)
(anonymous function) (grapes.min.js:2:9208)
(anonymous function) (grapes.min.js:2:2321)
t (grapes.min.js:2:80874)
When I trigger getView().reset() the new elements in the DOM don't exist and their width and height are 0. I want to reset the view and then to trigger JS which will build the carousel.
The text was updated successfully, but these errors were encountered: