-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
selectpicker('mobile') not working on iOS #1828
Comments
Confirm it on iOS 11+ and Chrome Dev Tools with Mobile Touch. But on Android and old iOS work well. |
Confirm on iPad Air, iPad Pro and iPhone 7 all with iOS 11.3 and 11.4 and Safari. A native Fallback would be nice... |
I'm using bootstrap 3.3.7 and it doesn't work in mobile when mobile option is set to true |
Any solution so far regarding this issue ? |
No solution yet. I still haven't been able to recreate this issue on my end. |
@caseyjhol here is the demo of that issue, hoping that will help |
My solution is to downgrade bootstrap select version to v1.12.4 |
@Espumisan v1.12.4 works fine with bootstrap 4 ? |
Still checking into this (need to test on iOS). Works on Android 8.0.0 with both Chrome and Firefox. |
Yes there is no issue on Android .. Issue is with IOS |
I can confirm this problem on iOS 11.4.2 and Bootstrap 4.1 |
Yeaa I will try
…On Wed, 29 Aug 2018, 12:01 a.m. Santiago Feijoo, ***@***.***> wrote:
I'm using bootstrap 3.3.7 and it doesn't work in mobile when mobile option
is set to true
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1828 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYkcqw2e0ZEvyTcP-F0cOK_7vVo9G6C3ks5uVYx5gaJpZM4PxtMK>
.
|
This problem was introduced in commit 7e33113. The native select menu is opened, but then the button is instantly focused, thus closing the menu. On all other devices, operating systems, and browsers, this works fine (as it happens simultaneously), except in Safari on iOS. |
Working on a fix, but this is made more difficult by jquery/jquery#1750 and jquery/jquery#1741 (i.e. it's not possible to namespace focus events in jQuery v1.9+). |
…dd focus style to button when select is focused. #1828
Hi and thank you for the fix - however, I tested the latest commit and it didn't seem to work. Debugging into the newly introduced "if (!that.options.mobile)" I noticed it was false despite being properly initialized as 'mobile'. |
@soberdor If you use |
Thanks, yes that works! But is there still any way to use live search on mobile devices? data-live-search="true" doesn't seem to have any effect now. |
@soberdor The "mobile" option (which should probably be renamed) simply uses the device's native select menu, so until something like live search is supported on devices, it won't be possible using that feature. However, I do have plans to implement a more mobile-friendly version of the menu in a future update. |
Released in v1.13.3! |
Hi and thanks a lot for everything as well! I just wanted to inform you that I still couldn't get the mobile version running on iPhone 5 SE. I used Bootstrap 4.0.0 and Bootstrap-select 1.13.5. I could work around it however with Thanks a lot! |
I have test Bootstrap-select 1.13.5 on iPhone 5 and iPhone 7 with Bootstrap 3.3.7 but couldn't work for me. My Code to check Mobile
thanks for help |
This comment has been minimized.
This comment has been minimized.
I'm still getting this for Safari on iOS, but not on anything Android/Desktop. Has there ever been a fix for this? The |
Does not work when using Android and Firefox, even downgrading does not work :( The problem exists for years and no solution...that's bad! |
any fix on this yet? |
This is working for me with Firefox 68.7.0 on Android, as well as Chrome 81 on Android. Can anybody confirm which browsers/operating systems this happens with? Is it only iOS? |
Not working on any safari browser. Tested with browserstack ! |
Was able to get my hands on an iOS device and was able to recreate this issue (native select list opens up and immediately closes). |
Best way is for now is to detect mobile and destroy bootstap-seelct i guess ! |
This is, what I'd preffer, because mobile devices usually handle this their way best... |
Released in v1.13.17! |
I have an issue using the select picker on mobile, I've been able to catch this issue using chrome's mobile device emulator: https://youtu.be/vNzfvwzgPSM it will show it works okay on desktop view but on mobile view you click it multiple times with it not responding accurately.
The text was updated successfully, but these errors were encountered: