-
Notifications
You must be signed in to change notification settings - Fork 984
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] "View Profile" button behaviour on keyboard open in "Add a contact" modal #15978
Conversation
Jenkins BuildsClick to see older builds (20)
|
hey @smohamedjavid, just wondering why we don't show the button instead, looks like a proper way to fix the issue ? |
f796bad
to
379a747
Compare
Hi @flexsurfer - Figma doesn't have a definitive design on how the button should behave when the keyboard is open for the "Add a contact" modal. That's why, I went with dismissing the keyboard by tapping outside of the keyboard area approach. I agree displaying the button on top of the keyboard is the correct fix for a good UX. I have removed the first approach state above and updated the "Add a contact" screen with |
379a747
to
c6500d5
Compare
88% of end-end tests have passed
Failed tests (4)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Passed tests (29)Click to expandClass TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestActivityCenterContactRequestMultipleDevicePR:
|
Hi @smohamedjavid thank you for PR. The issue is fixed for some devices. But still reproduced for smaller resolution devices Steps to reproduce:
Actual result:Expected result:'View profile' button is still visible |
@smohamedjavid I believe it will be challenging to show 'view profile' button for all devices in this case. Since a user can add text longer than the valid chat key, causing the "View Profile" button becomes hidden again. Expected result:Maybe would be better to implement the following solution for such cases:
This will allow the user to see the overlapped by keyboard "View Profile" button. Actual result:User can't close the keyboard to see the 'view profile' button @smohamedjavid It'll be better to add as a separate follow up or can be fixed in the current PR? |
c6500d5
to
fe2a1ef
Compare
@VladimrLitvinenko Thanks for testing the PR!
Yes, It will be challenging to support smaller devices as the input box can grow.
Good suggestion! I have added both functionalities. Also, I have updated the Kindly retest. |
97% of end-end tests have passed
Failed tests (1)Click to expandClass TestCommunityMultipleDeviceMerged:
Passed tests (32)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestActivityMultipleDevicePR:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
|
hi, @smohamedjavid could you rebase this PR, please? This fix will be included in the release 1.23 |
Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
93f7bef
to
b0431a3
Compare
Done! 😄 |
81% of end-end tests have passed
Not executed tests (6)Failed tests (5)Click to expandClass TestActivityMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Passed tests (22)Click to expandClass TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityMultipleDeviceMerged:
|
97% of end-end tests have passed
Failed tests (1)Click to expandClass TestCommunityMultipleDeviceMerged:
Passed tests (32)Click to expandClass TestCommunityOneDeviceMerged:
Class TestActivityCenterContactRequestMultipleDevicePR:
Class TestCommunityMultipleDeviceMerged:
Class TestGroupChatMultipleDeviceMergedNewUI:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestActivityMultipleDevicePR:
|
@smohamedjavid No issues from my side. PR can be merged |
Thanks for testing the PR, @VladimrLitvinenko! |
…act" modal (#15978) Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
fixes #15976
Summary
This PR fixes the behaviour of the
View Profile
button in the "Add a contact" modal when the keyboard is open.Platforms
Steps to test
Messages
tab+
button on top right cornerAdd a contact
ENS or Chat Key
View Profile
button sticks to the top of the keyboardstatus: ready