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

Table not responsive to editor content width #163

Closed
systemnova opened this issue Jun 10, 2021 · 1 comment
Closed

Table not responsive to editor content width #163

systemnova opened this issue Jun 10, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@systemnova
Copy link

systemnova commented Jun 10, 2021

Within Rstudio global options i've set th editor content width to 1600px for RMarkdown within my notebook.
The container the table sits in never fills the width even with fullWidth = TRUE.

Is it possible to change the table to fill the full 1600px of the editor?

@glin
Copy link
Owner

glin commented Jun 12, 2021

Thanks for the report. This is now fixed in the development version on GitHub (b888c39):

  • Tables are now displayed with full width when rendered inside an R Markdown document or R Notebook (#163).

Previously, reactable used the default sizing behavior for HTML widgets in R Notebooks, which was something like a max width of 800px. This default behavior is now disabled.

Here are before/after screenshots for comparison:

Before
Current version of reactable printed in an R Markdown document with limited width

After
Fixed version of reactable printed in an R Markdown document that stretches to full width

@glin glin closed this as completed Jun 12, 2021
@glin glin added the bug Something isn't working label Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants