HomePhabricator

[Cashtab] Add click-outside-area closing effect for NavWrapper using event…

Description

[Cashtab] Add click-outside-area closing effect for NavWrapper using event bubbling

Summary:
Implemented a click-outside closing mechanism for the settings window using event bubbling instead of useEffect, to maintain consistency with existing code style.
This approach allows the NavWrapper to automatically close when users click outside its boundaries.

Test Plan:
Tested on Chrome and Safari browsers across various screen sizes, with the navigation menu closing effect working smoothly.
npm test passes.

Reviewers: emack, bytesofman, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: emack, bytesofman, O1 Bitcoin ABC, #bitcoin_abc

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17756

Details

Provenance
alitayinAuthored on Mon, Mar 10, 02:35
alitayinPushed on Sun, Mar 16, 23:09
Reviewer
Restricted Owners Package
Differential Revision
D17756: [Cashtab] Add click-outside-area closing effect for NavWrapper using event bubbling
Parents
rABC162b1b98aea7: [Automated] Update chainparams
Branches
Unknown
Tags
Unknown