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

Clicking on any table border causes error: "rowSizeOverrides.get is not a function" #2831

Closed
bobalazek opened this issue Dec 26, 2023 · 3 comments · Fixed by #2832, #2830 or #2867
Closed
Assignees
Labels
bug Something isn't working plugin:table Tables

Comments

@bobalazek
Copy link

bobalazek commented Dec 26, 2023

Steps to Reproduce

  1. Go to https://platejs.org/docs/table
  2. Click on the border of any table on any playground of the page
  3. You should see a "Application error: a client-side exception has occurred (see the browser console for more information).". Locally, with debug enabled it's rowSizeOverrides.get is not a function

Expected Behavior

The error should not be thrown if clicking, since it prevents you from resizing rows and cells.

Environment

  • slate: 0.101.5
  • slate-react: 0.101.5
  • plate: 28.0.0
  • browser: chrome

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@bobalazek bobalazek added the bug Something isn't working label Dec 26, 2023
@bobalazek bobalazek changed the title Clicking on table border causes error: "rowSizeOverrides.get is not a function" Clicking on any table border causes error: "rowSizeOverrides.get is not a function" Dec 26, 2023
@MrBlackGhostt
Copy link

yes when click on the table border its show the error i want to work on this issue and solve it can it will assign to me

@zbeyens zbeyens added the plugin:table Tables label Dec 26, 2023
@12joan 12joan linked a pull request Dec 26, 2023 that will close this issue
@12joan
Copy link
Collaborator

12joan commented Dec 26, 2023

@MrBlackGhostt It looks like we've already got a fix for this: #2832. Thanks for your offer of help!

@12joan
Copy link
Collaborator

12joan commented Jan 8, 2024

The #2832 fix was a workaround. Re-openning to close with #2867.

@12joan 12joan reopened this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin:table Tables
Projects
None yet
4 participants