Skip to content
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 channel navigation when tapping recipient header areas #1200

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aurora500
Copy link

This PR fixes the tap target behavior in the recipient header of channel messages. Previously, tapping above or below the channel name would navigate to the topic view instead of the channel view.

The fix adds behavior: HitTestBehavior.opaque to the GestureDetector which makes the entire area (including padding spaces) respond to taps.

The fix improves the header's usability by ensuring the entire channel section responds correctly to taps, making navigation more intuitive.

Issue: #1179

Screencast:

solutionPoc.mp4

@gnprice gnprice added the maintainer review PR ready for review by Zulip maintainers label Dec 23, 2024
@gnprice
Copy link
Member

gnprice commented Dec 23, 2024

Thanks. Before we can review this, it will need a test — see our README: https://github.com/zulip/zulip-flutter#submitting-a-pull-request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer review PR ready for review by Zulip maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants