-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Jakubkalinski0/fix console errors related to forward ref batch7 - PR after second revert #73422
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
Merged
mountiny
merged 33 commits into
Expensify:main
from
software-mansion-labs:jakubkalinski0/Fix-console-errors-related-to-forwardRef-batch7
Nov 14, 2025
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
b372fb2
Removed forwardRef from ShareTabParticipantsSelector.tsx
jakubkalinski0 ced3156
Removed forwardRef from AmountWithoutCurrencyInput.tsx
jakubkalinski0 0a85bde
CheckboxWithLabel.tsx
jakubkalinski0 484aac2
Removed forwardRef from ContextMenuItem.tsx
jakubkalinski0 e92bfab
Removed forwardRef from Countryselector.tsx
jakubkalinski0 450f974
Removed forwardRef from CurrencySelector.tsx
jakubkalinski0 78e716c
Removed forwardRef from FormScrollView.tsx
jakubkalinski0 a08967c
Removed forwardRef from HighlightableMenuItem.tsx
jakubkalinski0 9d6d600
Removed forwardRef from InteractiveStepSubHeader.tsx
jakubkalinski0 c1133fe
Removed forwardRef from InteractiveStepWrapper.tsx
jakubkalinski0 969a22d
Removed forwardRef from MagicCodeInput.tsx
jakubkalinski0 cc7838c
Removed forwardRef from PercentageForm.tsx
jakubkalinski0 18c6c98
Removed forwardRef from RadioButtons.tsx
jakubkalinski0 36401ad
Small code cleanup
jakubkalinski0 7841e73
Removed forwardRef from SingleChoiceQuestion.tsx
jakubkalinski0 709690b
Removed forwardRef from StateSelector.tsx
jakubkalinski0 fe67331
Removed forwardRef from TextLink.tsx
jakubkalinski0 cb7d981
Removed forwardRef from TimeModalPicker.tsx
jakubkalinski0 311aa07
Removed forwardRef from withToggleVisibilityView.tsx
jakubkalinski0 f87737f
Removed forwardRef from withViewportOffsetTop.tsx
jakubkalinski0 2eaa7ab
Removed forwardRef from ActionSheetAwareScrollView component
jakubkalinski0 dcf0798
Removed forwardRef from AddressSearch component
jakubkalinski0 e08814a
Removed forwardRef from AmountPicker component
jakubkalinski0 e4cd636
Removed forwardRef from AttachmentCarousel/Pager/index.tsx
jakubkalinski0 c8db1e8
Removed forwardRef from DatePicker component
jakubkalinski0 d002746
Fixed failing spellcheck
jakubkalinski0 f2d37c8
Removed unnecessary prop
jakubkalinski0 ec6d40f
Prettier run
jakubkalinski0 8157b1a
Merge branch 'main' into jakubkalinski0/Fix-console-errors-related-to…
jakubkalinski0 8325118
Merge branch 'main' into jakubkalinski0/Fix-console-errors-related-to…
jakubkalinski0 69e9ed3
Removed unused forwardRef import
jakubkalinski0 8f8f2e3
Merge branch 'main' into jakubkalinski0/Fix-console-errors-related-to…
jakubkalinski0 c0e0150
Merge branch 'main' into jakubkalinski0/Fix-console-errors-related-to…
jakubkalinski0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,10 @@ | ||
| import type {PropsWithChildren} from 'react'; | ||
| import type {ScrollViewProps} from 'react-native'; | ||
| import type {PropsWithChildren, Ref} from 'react'; | ||
| // eslint-disable-next-line no-restricted-imports | ||
| import type {ScrollView, ScrollViewProps} from 'react-native'; | ||
|
|
||
| type ActionSheetAwareScrollViewProps = PropsWithChildren<ScrollViewProps>; | ||
| type ActionSheetAwareScrollViewAnimationProps = { | ||
| ref?: Ref<ScrollView>; | ||
| }; | ||
| type ActionSheetAwareScrollViewProps = PropsWithChildren<ScrollViewProps> & ActionSheetAwareScrollViewAnimationProps; | ||
| type RenderActionSheetAwareScrollViewComponent = ((props: ActionSheetAwareScrollViewProps) => React.ReactElement<ScrollViewProps>) | undefined; | ||
| export type {ActionSheetAwareScrollViewProps, RenderActionSheetAwareScrollViewComponent}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don’t see the benefit of this component anywhere.
i.e. #54764 test case is not working at all. (Also on main)
Can you find any example case where animation is working?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is not used, lets create an issue to remove it