fix: Fix dismissing perps modify sheet#28888
Conversation
|
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Direct impact:
Dependent tags per tag descriptions:
The change is a behavioral fix to close callback execution order, which could affect any flow that relies on post-close callbacks in BottomSheet. The fix is surgical and well-reasoned, but since BottomSheet is a widely-used shared component, broad testing is warranted. Performance Test Selection: |
|
|
✅ E2E Fixture Validation — Schema is up to date |
georgewrmarshall
left a comment
There was a problem hiding this comment.
Approving to unblock but I think we should have a look at the architecture of the BottomSheet to see if we can make any improvements to ensure there is just one close pipeline



Description
Fixes the perps modify bottom sheet dismissal when tapping on the overlay
Changelog
CHANGELOG entry:
Related issues
Fixes: https://consensys.slack.com/archives/C08U6DYNJ1G/p1776265582646229
Manual testing steps
Screenshots/Recordings
Before
https://consensys.slack.com/archives/C08U6DYNJ1G/p1776265582646229
After
perps-modify.mov
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist