Psychopy v2020.2.3, full screen mode on pavlovia
Description of the problem:
I’m customizing the visuals of a radio slider in js, and pulling labels and ticks while looping through a conditions file. This works okay if I have the same number of ticks for each question, but if the number of ticks/labels changes, it does not: while the number of rating selections is correct, the positions of the labels does not seem to update until the following trial.
If trial0 radio slider has 5 ticks&labels, it appears as expected.
If trial1 radio slider then has 6 ticks&labels, we see 6 rating choices, but the labels appear to be in the locations for 5 ticks, and is warped in that the “additional label” is wrapped back onto another label (see attached images).
If trial2 radio slider then has 6 ticks&labels, we see 6 rating choices & labels as expected.
If trial3 radio slider then has 5 ticks&labels, we see 5 rating choices, but the labels appear to be in the locations for 6 ticks (so the 5 labels aren’t like up with the rating choices & there’s a weird label gap).
However, if trial4 has 2 ticks&labels, we see 2 rating choices & labels as expected, but I’m guessing that’s because they’re at the anchors of radio choices so there isn’t really another way for them to be spaced out.
Attached visuals of the example, & what the conditions file looks like.
This might be for @apitiot since you’ve recently worked with js slider customization?