-
Notifications
You must be signed in to change notification settings - Fork 5.4k
chore: popover issue with preview builds #36909
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
Conversation
This reverts commit ed02ac2.
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
✨ Files requiring CODEOWNER review ✨🧩 @MetaMask/extension-devs (1 files, +1 -1)
📜 @MetaMask/policy-reviewers (1 files, +1 -1)
Tip Follow the policy review process outlined in the LavaMoat Policy Review Process doc before expecting an approval from Policy Reviewers. 🔗 @MetaMask/supply-chain (1 files, +1 -1)
|
d9e9fa2 to
d838472
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on: |
|
@metamaskbot update-policies |
|
No policy changes |
|
@SocketSecurity ignore [email protected] |
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [d838472]
UI Startup Metrics (1240 ± 59 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Description
This PR tests whether reverting the LavaMoat patch fixes the popover positioning issue in production builds.
This PR reverts commit
ed02ac23e86fc3a20336901a2bef52365cdd6bb1("fix: lavamoat patch (#36628)") to test our theory that the LavaMoat policy changes are causing ALL popover components to fail to anchor properly to their reference elements in GitHub Actions builds.The Problem:
The Theory:
The LavaMoat policy changes in the reverted commit are preventing @popperjs/core from accessing necessary DOM positioning APIs, causing popovers to float unanchored instead of positioning relative to their anchor elements.
This PR will prove/disprove the theory by:
Changelog
CHANGELOG entry: null
Related issues
Tests fix for popover positioning issue affecting ALL popover components in production builds.
Manual testing steps
Expected Result: If our theory is correct, popovers should position correctly in the GitHub Actions build with the LavaMoat patch reverted.
Screenshots/Recordings
Before (Broken - main branch)
Popovers float unanchored in GitHub Actions builds due to LavaMoat blocking @popperjs/core
After (Testing - this PR)
Should show popovers correctly anchored if LavaMoat revert fixes the issue
Pre-merge author checklist
Pre-merge reviewer checklist