Cycling text within an option -- not as expected? #906
Answered
by
larryboyko
larryboyko
asked this question in
Writing in ink
|
Hi! When I include cycling text in an option, the text doesn't seem to cycle if THAT option is chosen. In the below, for example, if I click on option 1 or 3, the text of option 2 cycles, but not if I click option 2. Same for option 3: it only cycles when I click on 1 or 2. (And so clicking on 1 cycles both 2 and 3.) I'd expect -- and would like -- the text to cycle, even when that option is chosen. Anyone know what I'm doing wrong? |
Answered by
larryboyko
Jun 21, 2024
Replies: 1 comment 1 reply
|
Sorry, I should have waited ten minutes before posting! The "problem" is that the next iteration of the cycling text is actually called and printed after clicking the choice. |
1 reply
Answer selected by
larryboyko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, I should have waited ten minutes before posting!
The "problem" is that the next iteration of the cycling text is actually called and printed after clicking the choice.
The solution is to use a temporary variable (if you want the choice text to match the post-choice printout).