-
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 selection list focus #34196
Fix selection list focus #34196
Conversation
@fedirjh i added the sorting function .. let me know if you think any regression could occur here. |
@abzokhattab Could you please merge main? I couldn't test on android. |
@fedirjh done |
Reviewer Checklist
Screenshots/VideosAndroid: NativeCleanShot.2024-01-16.at.21.02.06.mp4Android: mWeb ChromeCleanShot.2024-01-16.at.17.43.46.mp4iOS: NativeCleanShot.2024-01-16.at.15.57.35.mp4CleanShot.2024-01-16.at.16.13.32.mp4iOS: mWeb SafariCleanShot.2024-01-24.at.06.26.12.mp4MacOS: Chrome / SafariCleanShot.2024-01-15.at.12.12.41.mp4MacOS: DesktopCleanShot.2024-01-17.at.16.16.40.mp4 |
i have migrated the new changes to typescript as the file on main was changed to ts. please check this comment and let me know if we should cover the selection focus as well #29080 (comment) |
the typescript migration was reverted :D so i merged from |
@abzokhattab I checked your comment, and it seems that the issue with android was fixed. However, I got this bug on web; when you use the keyboard navigation arrow keys to navigate between the list items, as seen in the video, the last item can't be selected, I think this is due to the sorting method; can we move the sorting to CleanShot.2024-01-24.at.07.09.21.mp4 |
cc @abzokhattab Could you please merge main? Can we please move this forward ? |
okay working on it now |
bump @fedirjh |
@abzokhattab Let's resolve conflicts. Let's remove/update and make sure that the other bug is fixed as well. |
the PR i mentioned was reverted here so we can discard the last comment. |
Co-authored-by: Fedi Rajhi <fedirjh@gmail.com>
thanks @fedirjh, all threads are now resolved. let me know if you have any other comment |
@abzokhattab Could you please also update the testing steps to reflect the correct behaviour? Thank you. |
done |
is there any other comments @fedirjh ? |
@abzokhattab Could you please merge main? |
done |
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.
Looks good to me.
Co-authored-by: Monil Bhavsar <monilbhavsar25@gmail.com>
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.
Thanks!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 1.4.42-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.42-5 🚀
|
Details
Fixed Issues
$ #29080
PROPOSAL: #29080 (comment)
Tests
Verify that no errors appear in the JS console
Acceptance criteria
Test:
as
and selectAfrica/Asmara
tr
) and observe that focus is changed to the first value as it normally does for all other similar UIBesides the previous test, all other tests should abide the previous requirements criteria
Offline tests
Test:
as
and selectAfrica/Asmara
tr
) and observe that focus is changed to the first value as it normally does for all other similar UIBesides the previous test, all other tests should abide the previous requirements criteria
QA Steps
Verify that no errors appear in the JS console
Acceptance criteria
Test:
as
and selectAfrica/Asmara
tr
) and observe that focus is changed to the first value as it normally does for all other similar UIBesides the previous test, all other tests should abide the previous requirements criteria
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)/** comment above it */
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
Android: Native
Untitled2.mov
Android: mWeb Chrome
Screen.Recording.2023-10-26.at.2.41.17.PM.mov
iOS: Native
Screen.Recording.2023-10-26.at.4.06.31.PM.mov
iOS: mWeb Safari
Untitled.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-10.at.12.51.43.AM.mov
Screen.Recording.2024-01-10.at.12.37.04.AM.mov
MacOS: Desktop
Screen.Recording.2024-01-10.at.12.53.31.AM.mov
Screen.Recording.2024-01-10.at.12.54.13.AM.mov