-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fix: Obsolete LayoutAnimation
#20888
Fix: Obsolete LayoutAnimation
#20888
Conversation
@sobitneupane 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] |
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.
@tienifr Can you please merge main. App is crashing when I enter @
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.
@tienifr Can you please add steps from issue in Test.
- Go to any chat
- Click on return button for multiples empty line
- Dismiss the keyboard on click on outside
Also
- Go to any chat
- Type something
- Press emoji button
I can still reproduce the issue.
Screen.Recording.2023-06-23.at.12.02.24.mov
Also while testing on IOS please make sure to use the keyboard from IOS not hardware keyboard.
…obsolete-layout-animation
I was able to reproduce the issue with above steps. |
@sobitneupane Ah, my mistake. I'll find the root cause |
@tienifr Any update? |
@sobitneupane sorry I haven't been able to find what went wrong, seems that it's deep in the |
@sobitneupane After further investigation, this seems to be a known issue of Meanwhile the fix here works for the scenario mentioned in the Github issue so we can proceed with this first, and possibly create another issue to wait for the native component fix upstream. |
@tienifr Is there any open issue to handle it for |
@sobitneupane I couldn't find any more recent issue relating to this same thing. There're a couple of similar issues reported before but it was also from a while ago. |
What is the status here? |
@s77rt The issue was not completely solved by the PR. So, we have decided to reopen the issue for proposals. |
Are you still going to merge this ? I think this would resolve this: #21540 |
Details
The
LayoutAnimation
inReportActionCompose
is no longer needed thanks to #19933. This PR removes it.Fixed Issues
$ #20552
PROPOSAL: #20552 (comment)
Tests
@
to toggle mention suggestions======
======
Offline tests
NA
QA Steps
@
to toggle mention suggestions======
======
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Screencast.from.16-06-2023.12.37.45.webm
Mobile Web - Chrome
Screencast.from.16-06-2023.12.39.27.webm
Mobile Web - Safari
Screen.Recording.2023-06-16.at.21.22.30.mov
Desktop
Screen.Recording.2023-06-16.at.21.28.48.mov
iOS
Screen.Recording.2023-06-22.at.16.20.58.mov
Android
Screencast.from.16-06-2023.12.36.20.webm