Skip to content
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

Modal close behaviour on iOS 7 #14032

Closed
Howitzer opened this issue Jul 3, 2014 · 6 comments
Closed

Modal close behaviour on iOS 7 #14032

Howitzer opened this issue Jul 3, 2014 · 6 comments

Comments

@Howitzer
Copy link

Howitzer commented Jul 3, 2014

When I close a modal (by any data-dismiss element) the modal "flashes" in a way that makes it appear to close, open again, and then finally close.

Tested on iOS versions 7.1.1 and 7.1.2 (iPhone 4s), in Safari, Chrome (v35), and Opera(v8).

I was also able to test with Internet Explorer on Windows Phone 8, however the flashing behaviour was not present.

Unfortunately, I do not have access to an Android device for testing to further isolate Apple.

Steps to reproduce:
On an iOS device, point your browser to http://getbootstrap.com/javascript/#modals-sizes and open a modal. Then observe it's behaviour when you close it.
(Also happens in my own project, which I think would mean it's not isolated to the Docs^^)

@cvrebert cvrebert added the js label Jul 3, 2014
@cvrebert
Copy link
Collaborator

cvrebert commented Jul 3, 2014

I can confirm that there is some flashing during modal dismissal on iOS.

@cvrebert cvrebert added css and removed js labels Jul 3, 2014
@cvrebert cvrebert added this to the v3.2.1 milestone Jul 3, 2014
@mdo
Copy link
Member

mdo commented Jul 3, 2014

Could be related to the positioning stuff we changed for scrollbars, or it could be related to the translate3d stuff. Will need to play around to find out.

@mdo
Copy link
Member

mdo commented Jul 7, 2014

Just confirmed this isn't related to the translate3d usage. Using the regular translate I see the flashing on my iPhone.

@mdo
Copy link
Member

mdo commented Jul 7, 2014

I think I've also found this isn't related to the transitionend stuff from #13786.

@mdo
Copy link
Member

mdo commented Aug 2, 2014

Punting to v4.

@mdo mdo closed this as completed Aug 2, 2014
@mdo mdo removed this from the v3.2.1 milestone Aug 2, 2014
@coderdave
Copy link

Is there a workaround until v4? That's quite a while to wait for an iOS bug to be fixed.

@mdo mdo mentioned this issue Aug 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants