21 May 2011 6:59 AM #1
5-star jquery rating has bug with Sencha Touch
I'm developing a sencha touch application, and I need a 5-star rating inside an Ext.List . I use Raty a jquery plug-in to do that.
I've made some experiment and there are bugs on iPhone. When you rate on desktop browser (Chrome for example) it works very well with no problem, but with iPhone Safari browser when you rate, sometimes it changes the rating of an other item of the list (it seems to be random).
You can test it at this URL making a dozen of ratings and re-rating randomly :
example with sencha touch
And it's not a problem of jquery on iPhone because without sencha touch the bug disappear :
example without sencha touch
I don't know how to solve this because I use Chrome to bug my project, but the problem appears only on mobile, not the best way for debugging.
Has anyone an idea ?
21 May 2011 6:35 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
We do not support any jQuery stuff.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
21 May 2011 7:21 PM #3
Okay thank you. But I don't understand why it is incompatible. Even if it's not supported, jquery should work because it's in a template and not in a sencha-touch component. And there it's clearly sencha-touch which make jquery bug. Does sencha-touch modify a lot the event management and so will make confliact with jquery ?
Edit: And if we can't use jquery, how make a star-rating system for items list ?