Issue #2802Opened May 26, 2020by meyerco1 reactions

[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 . ezgif com-video-to-gif (3)

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)

artfMay 26, 20201 reactions

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.