[BUG] editor get stucked when switching selection quickly between controls
Question
Description
- The bug is reproduced on the current demo
What happens ?
- When switching selection quickly between controls , the editor get stucked .
Steps to reproduce on the demo
- Select one controls and move quickly selection to another . Do this few times the editor will get stucked .

The error on console
grapes.min.js?v0.16.12:2 Uncaught TypeError: this.editor.runCommand is not a function
at r.showElementOffset (grapes.min.js?v0.16.12:2)
at r.updateToolsLocal (grapes.min.js?v0.16.12:2)
at r.<anonymous> (grapes.min.js?v0.16.12:2)
at o (grapes.min.js?v0.16.12:2)
at grapes.min.js?v0.16.12:2
showElementOffset @ grapes.min.js?v0.16.12:2
updateToolsLocal @ grapes.min.js?v0.16.12:2
(anonymous) @ grapes.min.js?v0.16.12:2
o @ grapes.min.js?v0.16.12:2
(anonymous) @ grapes.min.js?v0.16.12:2
setTimeout (async)
(anonymous) @ grapes.min.js?v0.16.12:2
(anonymous) @ grapes.min.js?v0.16.12:2
(anonymous) @ grapes.min.js?v0.16.12:2
(anonymous) @ grapes.min.js?v0.16.12:2
m @ grapes.min.js?v0.16.12:2
v @ grapes.min.js?v0.16.12:2
h @ grapes.min.js?v0.16.12:2
c.trigger @ grapes.min.js?v0.16.12:2
(anonymous) @ grapes.min.js?v0.16.12:11
selectAdd @ grapes.min.js?v0.16.12:11
(anonymous) @ grapes.min.js?v0.16.12:11
m @ grapes.min.js?v0.16.12:2
v @ grapes.min.js?v0.16.12:2
h @ grapes.min.js?v0.16.12:2
c.trigger @ grapes.min.js?v0.16.12:2
_onModelEvent @ grapes.min.js?v0.16.12:2
m @ grapes.min.js?v0.16.12:2
v @ grapes.min.js?v0.16.12:2
h @ grapes.min.js?v0.16.12:2
c.trigger @ grapes.min.js?v0.16.12:2
set @ grapes.min.js?v0.16.12:2
add @ grapes.min.js?v0.16.12:2
push @ grapes.min.js?v0.16.12:2
(anonymous) @ grapes.min.js?v0.16.12:11
addSelected @ grapes.min.js?v0.16.12:11
(anonymous) @ grapes.min.js?v0.16.12:11
setSelected @ grapes.min.js?v0.16.12:11
select @ grapes.min.js?v0.16.12:11
b @ grapes.min.js?v0.16.12:11
endMove @ grapes.min.js?v0.16.12:11
I @ grapes.min.js?v0.16.12:2
(anonymous) @ grapes.min.js?v0.16.12:2
(anonymous) @ grapes.min.js?v0.16.12:2
Show 8 more frames
Answers (1)
Thanks for the report @meyerco probably found the main issue, should be fixed in the next release
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2800
[Bug] when removing a tooltip its css is not removed
DescriptionThe bug is reproduced on the current demo Expected behavior When a tooltip is removed its css is removed What happens instead ?...
Issue #3663
BUG: Default styling properties are not being re-selected when switiching devices
Hi, Default styling properties are not being selected when switching devices. Steps to reproduce: Open [http://grapesjs.com/demo.html] Sele...
Issue #3291
BUG (v0.16.41): the duplicate icon from the icon toolbar is modifying the original element too
Version: v0.16.41 Are you able to reproduce the bug from the demo? [ ] Yes What is the expected behavior? The elements duplicated not shoul...
Issue #2876
[Bug] Resizing frame may be positioned around invalid element
Steps to reproduce:open newsletter demo at https://grapesjs.com/demo-newsletter-editor.htmlclean canvasplace "1/3 section"place "Image" in...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.