Issue #1927πŸ’¬ AnsweredOpened March 27, 2019by edward18930 reactions

Sender.set('active') error Maximum call stack size exceeded

Quick answerby artf

Create a reproducible demo, please

Read full answer below ↓

Question

I have a button with the show-left command, I want to make when the button is clicked a second time (or more) remains active, but when running Sender.set ('active') in the stop function, there is a loop on stop so that an error appears Maximum call stack size exceeded First click Second click My Commands

Answers (3)

artfβ€’ March 30, 2019

Create a reproducible demo, please

edward1893β€’ April 1, 2019

I have 3 buttons, I want when the button is clicked for the second time (or more), the button remains active, for example, when first clicking on the layer, the layer button becomes active, if clicked again the layer button will remain active my button at the moment my button when active and then c...

artfβ€’ April 3, 2019

use togglable: false instead of togglable: true

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.