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

Sort and width column feature doesn't work when it's in a hidden div in Chrome (49) #321

Closed
garciasa opened this issue Mar 8, 2016 · 6 comments
Labels

Comments

@garciasa
Copy link

garciasa commented Mar 8, 2016

Hi,
now i now what it's wrong, if you put a table, as part of bootstrap Tab, and that Tab it's not a default Tab (it's hidden at the beginning), when you click on that tab, and try to order one of the column, all of them disappears, except the first one...

It's working properly when the table is in the default tab and it's the first you see when you load the component.

This behavior is in Chrome (last version), in IE11 works properly.

Any suggestion??

@garciasa garciasa changed the title Sort feature doesn't work when it's in a hidden div Sort feature doesn't work when it's in a hidden div in Chrome Mar 8, 2016
@garciasa garciasa changed the title Sort feature doesn't work when it's in a hidden div in Chrome Sort feature doesn't work when it's in a hidden div in Chrome (49) Mar 8, 2016
@AllenFang
Copy link
Owner

@garciasa, ok I understand, could you please me a example code and tell me the react-bootstrap version. It's helpful for me to debug, because I'm not familiar with react-bootstrap, so a repo is better :)

@garciasa
Copy link
Author

garciasa commented Mar 8, 2016

Sure, this is my test component, by default the tab is the second one defaultActiveKey={2}, in that way is not working, if you change to {1}, in which the table is then works.

I don't know why i'm not able to format code here, sorry, in the link you've the component...

http://pastebin.com/8jqP0UYC

@AllenFang
Copy link
Owner

great 👍 I'll check this out

@garciasa
Copy link
Author

garciasa commented Mar 8, 2016

Perfect! Thank you.....

@garciasa garciasa changed the title Sort feature doesn't work when it's in a hidden div in Chrome (49) Sort and width column feature doesn't work when it's in a hidden div in Chrome (49) Mar 9, 2016
@garciasa
Copy link
Author

garciasa commented Mar 9, 2016

Hi,
i updated it, because I've the same issue with the width property... when you render a component, if it is in a hidden div, it doesn't works properly...

Cheers.

@AllenFang
Copy link
Owner

HI @garciasa, v2.0.0 has been released, you can check #331 for more detail explanation and I'll close this issues, if problem still remain, please tell me on #331 or open an issue

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

No branches or pull requests

2 participants