bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Button Dropdown Menu Items not clickable on iPhone

Open ShivX opened this issue 14 years ago • 30 comments

Since 2.1.0, Button dropdown menu items cannot be clicked/selected on iPhone (Unable to test on other touch devices to confirm). The dropdown menu closes as soon as you try to click an item from the dropdown.

This issue is repeatable on the Bootstrap Sample Page: http://twitter.github.com/bootstrap/components.html#buttonDropdowns

To clarify, I also applied the 4497 fix to see if that helped, and no luck: https://github.com/twitter/bootstrap/issues/4497

ShivX avatar Aug 27 '12 18:08 ShivX

Closing as a dupe of #4497.

mdo avatar Aug 27 '12 19:08 mdo

The 4497 "fix" does not fix this issue though? And the issue I reported is specific to iPhone...

ShivX avatar Aug 27 '12 20:08 ShivX

+1 to what ShivX said

tonybruess avatar Aug 27 '12 20:08 tonybruess

@markdotto probably meant to cite #4550 as the original which this issue duplicates.

Both #4550 and #4497 are included in the 2.1.1 Milestone.

mfansler avatar Aug 27 '12 21:08 mfansler

Thanks for the clarification :) 2.1.1 can't come soon enough!

ShivX avatar Aug 27 '12 21:08 ShivX

update to 2.1.1 doesn't change the problem - button dropdown menu still not clickable on iPhone and other smarphones.

martinschenk avatar Sep 26 '12 18:09 martinschenk

Updating to 2.1.1 doesn't help for me neither, is there anybody who had a successful fix?

niels-s avatar Oct 01 '12 19:10 niels-s

the same issue. iOS simulator 5.0 , iPhone and iPad as well.

RusAlex avatar Oct 10 '12 10:10 RusAlex

Ditto on iPad

autoreverse avatar Oct 10 '12 12:10 autoreverse

Broken++. Using 2.1.1, across iOS platforms.

TertiumQuid avatar Oct 12 '12 11:10 TertiumQuid

Any FIX for for this? I have found this problem yesterday, IOS5 on iPad, in Chrome and in built in browser

loter avatar Oct 16 '12 06:10 loter

I encounter the same issue, testing on iPAD. hope this gonna be fix soon.

luxlyny avatar Oct 23 '12 04:10 luxlyny

I'm on the same issue. probably fixed in this code for a while.

Add this after line 144 of js/bootstrap-dropdown.js:

    .on('touchstart.dropdown.data-api', '.dropdown-menu', function (e) { e.stopPropagation() })

tkawa avatar Oct 31 '12 16:10 tkawa

@tkawa : you make my day. Thanks a lot ! pod2g

luxlyny avatar Nov 03 '12 04:11 luxlyny

I had not noticed, the same code has been written on #4550. see there for details.

tkawa avatar Nov 03 '12 13:11 tkawa

@tkawa thanks!!!

antonmedv avatar Dec 04 '12 10:12 antonmedv

@tkawa YOU RULE. THANK YOU.

iTeaTin avatar Dec 05 '12 01:12 iTeaTin

@tkawa Thanks!

jessedobbelaere avatar Dec 28 '12 00:12 jessedobbelaere

Hi! was the problem solved with the 2.2.2?

beurre avatar Jan 16 '13 00:01 beurre

@beurre yes and no. they added the touchstart work around but it also introduced a few other bugs. I believe they're trying to work something out for the next release

Yohn avatar Jan 16 '13 12:01 Yohn