-
-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZulipButton: Extend button touch target to 48px.
Made the use of hitSlop prop and passed it from MentionedUserNotSubscribed to ZulipButton. Touch target now extends to 48px by specifying top and bottom properties of hitSlop prop to 6px each. Since the height of the button is 32, so adding the hitSlop to 6 at both top and bottom sums it up to 48. Link to the doc - https://support.google.com/accessibility/android/answer/7101858?hl=en Discussion of this in CZO [1] [1] https://chat.zulip.org/#narrow/stream/48-mobile/topic/UI.20tweaks Fixes part of #4224
- Loading branch information
1 parent
e687ca1
commit 1501c6b
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 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