Skip to content

Conversation

@aarab002
Copy link

Description

This PR fixes the UI/UX issue where deleting a table via “Edit table → Clear data” followed by “Edit table → Delete” leaves an empty, non-interactive box instead of reverting back to a blank text area.

The issue occurred because the table component remained mounted after deletion without notifying the parent renderer to switch back to text mode.

Related Tickets & Documents

Closes #19

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Steps to QA

  1. Creating a table with data
  2. Clearing the table data using "Edit table > Clear data"
  3. Deleting the table using "Edit table > Delete"
  4. Verifying that no empty box remains and the area resets to a blank text area

Added/updated tests?

  • Yes
  • No, and this is why: the change fixes internal UI behavior and does not affect public APIs or documented workflows.
  • I need help with writing tests

Added/updated documentations?

  • Yes
  • No, and this is why: the change fixes internal UI behavior and does not affect public APIs or documented workflows.
  • I need help with writing docs

Checklist

@aarab002 aarab002 requested a review from a team as a code owner December 16, 2025 12:06
@aarab002 aarab002 changed the title render-table-empty-box [fix] Prevent empty UI when deleting a table Dec 16, 2025
@aarab002
Copy link
Author

@JonnyTran

@JonnyTran
Copy link
Member

@JonnyTran

Thanks @aarab002! I'll likely need to mid-next week to test it but on a quick glance it looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG-UI/UX] Delete table option in RenderTable leave an empty box

2 participants