-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 - Chat - Compose box stays in the middle when reduced with a several lines message #50520
base: main
Are you sure you want to change the base?
Fix - Chat - Compose box stays in the middle when reduced with a several lines message #50520
Conversation
@rayane-djouah 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] |
still working on native behaviour 👍 |
@FitseTLT Any update? |
@rayane-djouah, I am having difficulty scrolling the text input imperatively on native, unlike the web case. There is neither |
Will check on my end and let you know |
@FitseTLT The bug reported in #49541 (comment) is not reproducible on native platforms. Therefore, I believe we should maintain the current behavior for native. |
But @rayane-djouah I am seeing the same problem as the OP in IOS, for instance, 2024-10-22.16-03-05.mp4 |
Oh, so this bug is specific to iOS native? Then we need to find a solution for it. |
@rayane-djouah I have managed to scroll to cursor position, to indirectly solve the problem on native. Look at the results, I have now uploaded the native screenshots in OP, and let me know your opinion. |
@FitseTLT Jest tests and performance tests are failing |
@rayane-djouah Tests fixed |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb Chromeandroid_mweb_chrome.mp4iOS: NativeiOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-11-01.at.20.03.11.mp4MacOS: Chrome / SafariScreen.Recording.2024-11-01.at.7.58.07.PM.movMacOS: DesktopScreen.Recording.2024-11-01.at.7.59.26.PM.mov |
@FitseTLT The solution is not working for me on iOS native: Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-11-01.at.20.23.04.mp4 |
Fixed I suspect it is related with regression caused by the bridge less pr solved it by giving some delay 2024-11-01.23-03-11.mp4 |
Hey @rayane-djouah I have been exploring how to programmatically scroll text inputs on natives and I found that we need to add scroll view for android, for instance, here |
@FitseTLT I will post an update today, could you please resolve the conflicts meanwhile? Thanks! |
@rayane-djouah resolved |
Details
Fixed Issues
$ #49541
PROPOSAL: #49541 (comment)
Tests
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: Native
2024-10-23.19-07-45.mp4
Android: mWeb Chrome
aw.mp4
iOS: Native
2024-10-23.18-47-28.mp4
iOS: mWeb Safari
iw.mp4
MacOS: Chrome / Safari
w.mp4
MacOS: Desktop
d.mp4