Fix Help RHP does not close when clicking outside RHP or with ESC key#57925
Fix Help RHP does not close when clicking outside RHP or with ESC key#57925blazejkustra wants to merge 4 commits intoExpensify:mainfrom
Conversation
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@blazejkustra |
|
This is a regression from one of my PR @ZhenjaHorbach and @brunovjk should review this one, sorry! |
No problem ! |
|
Great! Reviewing in a moment |
|
Videos seem good to me 👍 |
|
@blazejkustra When the screen is reduced (on web browser and desktop), and the Help Panel is overlapping the content, pressing MacOS: Desktopdesktop_fine.movMacOS: Chrome / Safariweb_fine.movHowever, on a larger screen, when the panel is on the right side of the content, pressing MacOS: Desktop - bugdesktop_bug.movMacOS: Chrome / Safari - bugweb_bug.movOn iOS native also works fine: iOS: Nativeios_fine.movThank you very much :D |
Yes, it is intentional 😄 |
|
Great!!!! I will fill out the checklist later :D |
|
Closing this PR, as I moved the code to Stage 2 PR for side pane project. |
|
@blazejkustra Android: Native57925_android_native_bug.movAndroid: mWeb Chrome57925_android_web_bug.mov |
oop, we posted almost at the same time hehhe |
Explanation of Change
Previously, help pane wasn't handling ESC button at all, also clicking on overlay now closes the side pane instead of RHP beneath help pane.
Fixed Issues
$ #57798
PROPOSAL: N/A
Tests
Overlay click:
Escape button:
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
and.webm
Android: mWeb Chrome
android.webm
MacOS: Chrome / Safari
Screen.Recording.2025-03-06.at.11.35.55.mov