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

nowrap doesn't work table cell #348

Closed
sachinsh opened this issue Sep 15, 2013 · 4 comments
Closed

nowrap doesn't work table cell #348

sachinsh opened this issue Sep 15, 2013 · 4 comments

Comments

@sachinsh
Copy link

I am creating horizontal scrolling webpage. I m using table with nowrap as hack of not calculating width of screen every time.

It seems react ignore nowrap, is there any work around.

@sophiebits
Copy link
Collaborator

Right now it looks lik React doesn't support the nowrap attribute. You could instead add the CSS

white-space: nowrap;

to the table cell to achieve the same effect.

@zpao
Copy link
Member

zpao commented Sep 19, 2013

Thanks for the report, but I don't plan to add support for nowrap. It was deprecated in HTML4 and is not a part of HTML5. I strongly suggest using CSS instead.

@zpao zpao closed this as completed Sep 19, 2013
@zhendong590
Copy link

👍

@liyatang
Copy link

thanks

bvaughn pushed a commit to bvaughn/react that referenced this issue Aug 13, 2019
* Patch console.warn and console.error to auto-append owners-only component stacks.

This setting is enabled by default and will work for React Native even if no front-end DevTools shell is being used. The setting can be disabled via a new, persisted user preference though.
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

5 participants