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 Block: cannot see more than three columns at a time when adding new columns #8325

Closed
designsimply opened this issue Jul 31, 2018 · 3 comments
Labels
[Block] Table Affects the Table Block [Feature] Blocks Overall functionality of blocks [Type] Bug An existing feature does not function as intended

Comments

@designsimply
Copy link
Member

Steps to reproduce:

  1. Add a table block.
  2. Click the "Edit Table" > "Add Column After" option several times.
  3. Note that you can only see 3 columns at a time and a horizontal scroll bar.
  4. Switch to Edit as HTML then switch back to Edit Visually.

Note: instead of switching to Edit as HTML and back, you can also save and refresh the page or save, close, and re-open the post.

Result: when adding several columns to a table, you cannot see more than 3 columns at a time until the view is refreshed.

Video: 1m8s
Seen at http://alittletestblog.com/wp-admin/post.php?post=14085&action=edit running WordPress 4.9.7 and Gutenberg 3.4.0 using Firefox 61.0.1 on macOS 10.13.6.

screen shot 2018-07-31 at tue jul 31 9 23 36 am

h/t @mermel for the original report (internal reference: p1532989996000185-slack-p2-gutenberg)

@designsimply designsimply added [Type] Bug An existing feature does not function as intended [Feature] Blocks Overall functionality of blocks labels Jul 31, 2018
@talldan
Copy link
Contributor

talldan commented Sep 6, 2018

I think this is no longer an issue since the table block was re-written. @designsimply - are you able to reproduce it?

@talldan
Copy link
Contributor

talldan commented Sep 11, 2018

I've set this to close once #9801 is merged. That provides more control over table width, and sets the default width to 100% for new table blocks.

@sarahmonster sarahmonster added the [Block] Table Affects the Table Block label Oct 24, 2018
@designsimply
Copy link
Member Author

@talldan! My apologies for missing this @ mention earlier!

I re-tested just now and found that I was able to add 8 columns and no horizontal scrollbar appeared. LGTM! 🎉

screen shot 2019-02-05 at 1 48 43 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Table Affects the Table Block [Feature] Blocks Overall functionality of blocks [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants