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: cp-12.13.0 fixes drag and drop in network list menu modal #30437

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions ui/components/multichain/network-list-menu/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@
&__dialog {
height: 100vh;
max-height: 100%;
// Needed to ensure the drag and drop works. All other modals use a slide up animation with transform: translateY(0)
// https://github.com/MetaMask/metamask-extension/issues/30436
transform: unset;

// Custom animation for network menu modal that doesn't use transform: translateY(0) to ensure the drag and drop works
animation: network-menu-fade 400ms cubic-bezier(0.3, 0.8, 0.3, 1) forwards;
}
}

@keyframes network-menu-fade {
from {
opacity: 0;
}

to {
opacity: 1;
}
}

Expand Down
Loading