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

Fix unintentional page rows being created #3221

Merged
merged 8 commits into from
Feb 19, 2024

Conversation

apedroferreira
Copy link
Member

@apedroferreira apedroferreira commented Feb 16, 2024

This must have been caused a while ago in #2635 but I hadn't noticed until now, or maybe it only made itself visible now due to the recent fixes:

When dragging elements just outside a page row, new page rows with page rows inside were being created and it could get quite messy. This PR adjusts the logic and seems to be a good fix from what I've tested.

Added a visual test to cover this bug.

Before:

Screen.Recording.2024-02-16.at.00.32.16.mov

After:

Screen.Recording.2024-02-16.at.00.32.56.mov

@apedroferreira apedroferreira added the bug 🐛 Something doesn't work label Feb 16, 2024
@apedroferreira apedroferreira self-assigned this Feb 16, 2024
@apedroferreira apedroferreira marked this pull request as ready for review February 16, 2024 18:41
@apedroferreira apedroferreira requested a review from a team February 16, 2024 18:41
Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great

@apedroferreira apedroferreira merged commit 7cece81 into mui:master Feb 19, 2024
11 checks passed
@apedroferreira apedroferreira deleted the fix-page-row-mess branch February 19, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants