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

combined feed: Fix channel header tap behaviour in combined feed #1370

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

Conversation

E-m-i-n-e-n-c-e
Copy link
Contributor

@E-m-i-n-e-n-c-e E-m-i-n-e-n-c-e commented Feb 21, 2025

Description

This PR fixes the channel header navigation in the combined feed view

Changes

  • Modified the GestureDetector in StreamMessageRecipientHeader to use HitTestBehavior.opaque
  • Added a test that verifies tapping empty space (3px above the chevron icon) in the channel header area navigates to the channel feed

Related Issues:

Closes #1179

I have verified that the test fails before the changes and the test passes after the changes

@E-m-i-n-e-n-c-e E-m-i-n-e-n-c-e force-pushed the 1368 branch 2 times, most recently from 41f52a0 to 431f1cd Compare February 21, 2025 16:04
Set gesture detecter behavior of streamWidget to HitTestBehavior.opaque
to handle taps in empty space around the header.

Also added a test that checks if tapping empty space in channel header
area correctly navigates to the channel feed.

Fixes zulip#1368.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tap target for channel in recipient header is shorter than header
1 participant