cancel
Showing results for 
Search instead for 
Did you mean: 

Issue modifying Scroll Wheel example to be circular

Redifinition
Associate II

Hi All,

When I tested this example, I made one change is to use Circular and the error is showed below:

Seems the item not match, can you help me to fixed it, thanks very much.

12 REPLIES 12

Yes, only make the wheel circular. You can try slide the wheel a little fast.

Hi @Redifinition​,

Ok, there's definitely weird behavior when swiping fast. I think you've found a bug in the example. I can both get it to overflow, like you showed me. And i can also get it to display fallback characters. I'll file a bug report internally.

This is just an issue with the example, so you can still make your scroll wheels circular. It's just the callback to fetch the selected item in a textbox that's wonky.

/Martin

Okay, i've verified with he guy who did the example that the "Selected element" part of the demo doesn't support circular scroll wheel. The reason you're getting "?" is because it's trying to write "-" symbol. e.g. if you scroll past the 0, going left, in a negative direction. The example wasn't supposed to show circular features, but i don't think it's unreasonable that a user would attempt to try that :) I'll push to have the example updated.

In the meantime you might be able to fix the code yourself, if you're interested.