-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Arrow up selection fix #4536 #4544
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
8f59f70
to
3aee02b
Compare
3aee02b
to
d6f4655
Compare
@@ -375,7 +374,6 @@ test.describe('HTML Lists CopyAndPaste', () => { | |||
await page.keyboard.press('Enter'); | |||
await page.keyboard.press('Enter'); | |||
await page.keyboard.press('ArrowUp'); | |||
await moveLeft(page, 4); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test was wrong as moving upward was broken
@@ -13,6 +13,7 @@ | |||
position: relative; | |||
outline: 0; | |||
padding: 8px 28px 40px; | |||
min-height: 150px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor adjustments for mobile screen on a playground, not really a separate PR-worthy
d6f4655
to
3ad2fd4
Compare
That condition looks a bit odd and is likely redundant or missing extra logic. Basically any shift + arrow-up selection will be broken if going into { canBeEmpty: false } (tables, lists). Original issue uses image as an example, but even list + paragraph case is broken:
Before:
Screen.Recording.2023-05-24.at.11.38.08.AM.mov
After:
Screen.Recording.2023-05-24.at.11.39.26.AM.mov