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

Bug: Image becomes unresizable if embedded inside a table #6931

Closed
ivailop7 opened this issue Dec 9, 2024 · 2 comments · Fixed by #6966
Closed

Bug: Image becomes unresizable if embedded inside a table #6931

ivailop7 opened this issue Dec 9, 2024 · 2 comments · Fixed by #6966
Assignees
Labels
good first issue Good for newcomers tables Relates to Lexical Tables

Comments

@ivailop7
Copy link
Collaborator

ivailop7 commented Dec 9, 2024

Lexical 0.21

Trying to resize an image when inside a TableCell does not work:

Screen.Recording.2024-12-09.at.22.40.35.mov
@ivailop7 ivailop7 changed the title Bug: Image becomes nonresiable if embedded inside a table Bug: Image becomes nonresizable if embedded inside a table Dec 9, 2024
@ivailop7 ivailop7 changed the title Bug: Image becomes nonresizable if embedded inside a table Bug: Image becomes unresizable if embedded inside a table Dec 9, 2024
@ivailop7
Copy link
Collaborator Author

ivailop7 commented Dec 9, 2024

Hopefully this is just a CSS z-index type of issue

@etrepum
Copy link
Collaborator

etrepum commented Dec 9, 2024

Yes that is what is happening. If the table cell is at least as large as the image then it works. It would be more clear with overflow: scroll or hidden on the table cell (which we could probably just do, particularly in the playground CSS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers tables Relates to Lexical Tables
Projects
None yet
2 participants