[TS Migration] migrate PopoverWithoutOverlay.js to TypeScript#32171
[TS Migration] migrate PopoverWithoutOverlay.js to TypeScript#32171mountiny merged 13 commits intoExpensify:mainfrom
Conversation
|
@fabioh8010 PR updated! |
|
@ 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] |
|
@mountiny could you help with assigning this to a reviewer? 😄 |
|
Interested in reviewing this |
|
@situchan lets complete the checklist on this one thanks! |
| disableAnimation?: boolean; | ||
|
|
||
| /** The ref of the popover */ | ||
| withoutOverlayRef: React.RefObject<HTMLElement & View>; |
There was a problem hiding this comment.
Any issue with this suggestion?
| withoutOverlayRef: React.RefObject<HTMLElement & View>; | |
| withoutOverlayRef?: React.RefObject<HTMLElement>; |
There was a problem hiding this comment.
ok and what about & View part?
No issue itself but just asking because it's inconsistent with other ref typings
|
Please complete missing checklist items |
|
The author checklist is failing due to missed checkboxes, but I can't add it since I'm not the author... |
|
I have updated the checklist @situchan can you please proceed with the review? Seems like there is something odd with this one and its not worth digging into now |
Reviewer Checklist
Screenshots/VideosAndroid: NativeNot affected. Though tested on iOS for safety Android: mWeb ChromeNot affected. Though tested on mSafari for safety iOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
| /** The anchor ref of the popover */ | ||
| anchorRef: React.RefObject<HTMLElement>; | ||
|
|
||
| /** A react-native-animatable animation timing for the modal display animation. */ |
There was a problem hiding this comment.
NAB
| /** A react-native-animatable animation timing for the modal display animation. */ | |
| /** A react-native-animatable animation timing for the modal display animation */ |
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.18-8 🚀
|
Details
Fixed Issues
$ #25051
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as Tests section above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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
This component is only rendered on big screens, so it doesn't exist on mobile devices
MacOS: Chrome / Safari
web-compressed.mov
MacOS: Desktop
desktop-compressed.mov