Replies: 2 comments
-
|
Do you have any logic that triggers updates from with an update listener? It could be leading to a waterfall of updates (you can avoid this by using node transforms instead). However, given you're saying that you are trying to highlight a word, it could actually be correct. Each update might be the addition of a single character being added to the range of selection. |
Beta Was this translation helpful? Give feedback.
-
|
I am using the following builtin plugins: I'm not sure if any of these would trigger updates on select? I am getting 8 updates per character, not for the whole word. Thanks for the tip about node transforms, I will be sure to pay attention to that as I keep developing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to trigger updates on selecting text with the following code block:
When I highlight one character in the text, I see 8 log statements as follows:

There always seems to be 8 per update. Why might this be happening?
Thanks so much!
Beta Was this translation helpful? Give feedback.
All reactions