Issue #1927Opened March 27, 2019by edward18930 reactions

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

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 Screenshot_10 Second click Screenshot_11

My Commands Screenshot_13

Answers (3)

artfMarch 30, 20190 reactions

Create a reproducible demo, please

edward1893April 1, 20190 reactions

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 Screenshot_1 at the moment my button when active and then clicked will change deactive hover2

artfApril 3, 20190 reactions

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

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.