Skip to content
This repository was archived by the owner on May 14, 2019. It is now read-only.

getBoundingClientRect() incorrectly reports width for hidden containers #50

Merged
merged 2 commits into from
May 24, 2016

Conversation

insekticid
Copy link
Contributor

@insekticid insekticid commented May 23, 2016

It is not possible to use minigrid on hidden container e.g. Bootstrap navbar menu items. Firstly you have to set display to initial, calculate width and height and then reset back

It is not possible to use minigrid on hidden container e.g. Bootstrap navbar menu items. Firstly you have to set display to initial and reset back
@hnqso hnqso added the bug label May 23, 2016
@insekticid
Copy link
Contributor Author

There is another problem in Internet Explorer 11. Just change display = 'initial' to display = 'block'

@hnqso
Copy link
Owner

hnqso commented May 23, 2016

Thanks @insekticid! Going to review it and update tonight 👍

@hnqso hnqso merged commit a27ada2 into hnqso:master May 24, 2016
@insekticid insekticid mentioned this pull request Sep 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants