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

card-columns and google maps issue #28891

Closed
cjshaw1976 opened this issue Jun 11, 2019 · 6 comments
Closed

card-columns and google maps issue #28891

cjshaw1976 opened this issue Jun 11, 2019 · 6 comments

Comments

@cjshaw1976
Copy link

Good day,

There is a silly bug when you insert a google map in a card div, inside a card-columns div and it seems to be something to do with the column count property. There are 4 div's in my case, 2 below and 2 above the map that prevent any other element being clicked. In my example below, the update address button cannot be clicked.

Screen Shot 2019-06-11 at 09 18 36

I have tried playing around with the z-index of the button, but this does not work.

@florianlacreuse
Copy link
Contributor

Can you provide a live demo with a reduced test case?

@cjshaw1976
Copy link
Author

cjshaw1976 commented Jun 11, 2019 via email

@cjshaw1976
Copy link
Author

I have created two fiddles. The only difference is one uses 'card-deck' and the other 'card-columns'.

With card-columns, you cannot click the button as a hidden part of the map is in the way. In fact you can even drag the map from over the button: https://jsfiddle.net/cjshaw/ws46qbv1/

With card-deck, you can click the button and everything works as you would expect: https://jsfiddle.net/cjshaw/ws46qbv1/1/

@mdo
Copy link
Member

mdo commented Jun 11, 2019

Card columns use the columns CSS property. If you need columns and have stuff like Google Maps to place within, I'd suggest the grid versus a browser-based content layout mechanism. Content is distributed so oddly across CSS columns and I'm betting they have no idea how to handle these kind of objects within.

Food for thought on eliminating the .card-columns class outright in v5 given their confusion and problems we've seen, @twbs/css-review.

@morrissey-ingenious
Copy link
Contributor

I don't think its a Bootstrap issue ... it only happens in Google Chrome.

@mdo
Copy link
Member

mdo commented Jun 18, 2019

Closing as a won’t/can’t fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants