Skip to content

[lexical-playground]: Shadows when table is scrollable - #8002

Merged
etrepum merged 1 commit into
meta:mainfrom
ivailop7:table_shadow
Dec 10, 2025
Merged

etrepum merged 1 commit into
meta:mainfrom
ivailop7:table_shadow

Conversation

@ivailop7

@ivailop7 ivailop7 commented Nov 23, 2025 •

Copy link
Copy Markdown
Collaborator

A playground plugin fix for: #7268

What is it?

Shows a inset shadow when the table has content to be scrolled to the right or left.

Limitations

I couldn't get it to overlay the shadow on top of cells that have 'background-color' specified, eg. header cells. It's a CSS limitation. There is a workaround using pseudoclasses and nested divs, but wanted to keep the plugin simple.

How it looks

Screen.Recording.2025-11-23.at.19.34.00.mov

Further comments

I'm happy to put the code in the tables package under a flag in the TablePlugin alongside 'scrollableTables' if the majority agree on this direction.

@vercel

vercel Bot commented Nov 23, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
lexical Ready Ready Preview Comment Nov 23, 2025 7:40pm
lexical-playground Ready Ready Preview Comment Nov 23, 2025 7:40pm

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 23, 2025
@ivailop7 ivailop7 added the extended-tests Run extended e2e tests on a PR label Nov 23, 2025
@etrepum
etrepum added this pull request to the merge queue Dec 10, 2025
Merged via the queue into meta:main with commit 58a4ee4 Dec 10, 2025
@etrepum etrepum mentioned this pull request Dec 10, 2025

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 867b2e19 Deployed Nov 23, 2025 by vercel[bot]
Preview – lexical — 867b2e19 Deployed Nov 23, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants