rvera / image-picker

Image Picker is a simple jQuery plugin that transforms a select element into a more user friendly graphical interface.
http://rvera.github.com/image-picker
Other
906 stars 216 forks source link

Selects Multiple in Mobile Chrome browser #13

Closed kogorou closed 10 years ago

kogorou commented 10 years ago

I tried to use select multiple. But I cannot deselect first element after I selected that once. It only happen in mobile Chrome browser. Android OS 4.1.2 and 4.3 (Nexus 7) Chrome Browser 28.0.1500.94

Here is the movie that I comfirmed the situation. https://www.youtube.com/watch?v=y0r_DYz8iAk

I am debugging and thinking what's happening and how to solve.

And maybe something is happening at image-picker.js , line 160 if (_ref = imagepicker_option.value(), __indexOf.call(this.selected_values(), _ref) >= 0)

But I cannot have solution yet... sorry...

rvera commented 10 years ago

Thanks for the heads up. I noticed this same issue a few weeks ago, I'll try to figure out whether this is an image-picker issue, jquery or chrome issue.

Have your tried with other touch based browsers?

kogorou commented 10 years ago

Thank you for your comment! I tried with the following browsers:

[Correct] Firefox (for Android) (version: 23.0) Dolphin Browser (for Android) (version: 10.0.2JP) https://play.google.com/store/apps/details?id=com.dolphin.browser.android.jp Mobile Classic (for Android) (version: 12.1.5) https://play.google.com/store/apps/details?id=com.opera.browser.classic Safari (for iOS 6.1.3) (version: ?) Safari (for iOS 7) (version: ?) Chrome (for iOS 7) (version: 28.1500.16)


[Incorrect] Chrome Browser (for Android) (version: 28.0.1500.94) Opera Browser (for Android) (version: 15.0.1162.61541) https://play.google.com/store/apps/details?id=com.opera.browser

rvera commented 10 years ago

Thank you that's very useful. I'll try to see what's wrong with it.

rvera commented 10 years ago

@kogorou Sorry to bother you but my Android phone bricked with the 4.3 update.

Can you test the new version in your phone? Just try the examples in the documentation page http://rvera.github.com/image-picker

Thanks

kogorou commented 10 years ago

Thank you for your great work! Great! I

I tested with the following browsers and confirmed working properly all!: Android OS 4.0.4, 4.1.2, 4.3 Chrome for Android (version: 29.0.1547.59)

Thank you for the quick response!

rvera commented 10 years ago

I'm glad it works. Thank you for helping me test this.