-
Notifications
You must be signed in to change notification settings - Fork 309
Tap target for channel in recipient header is shorter than header #1179
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
Labels
Milestone
Comments
I would like to contribute to this issue,kindly assign me The problem is that the entire recipient header (including the channel area) is wrapped in a single GestureDetector that navigates to the topic narrow. We need to properly separate the gesture areas for the channel and topic sections. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hi I have worked on this. Please see #1370 and this comment |
E-m-i-n-e-n-c-e
added a commit
to E-m-i-n-e-n-c-e/zulip-flutter
that referenced
this issue
Feb 23, 2025
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#1179.
E-m-i-n-e-n-c-e
added a commit
to E-m-i-n-e-n-c-e/zulip-flutter
that referenced
this issue
Mar 1, 2025
Set gesture detecter behavior of streamWidget to HitTestBehavior.opaque to handle taps in empty space around the header. Fixes zulip#1179.
E-m-i-n-e-n-c-e
added a commit
to E-m-i-n-e-n-c-e/zulip-flutter
that referenced
this issue
Mar 3, 2025
Set gesture detecter behavior of streamWidget to HitTestBehavior.opaque to handle taps in empty space around the header. Fixes zulip#1179.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(chris edit: added screenshot and "Related issues" and "Implementation" sections)
When a channel message appears in a multi-channel narrow (like the combined feed), the recipient header has the channel name as well as topic.
Expected: Tapping anywhere in the channel part of the header (highlighted below) should lead to the channel narrow:
Actual: Tapping directly on the text of the channel name leads to the channel narrow. But tapping slightly above or below leads instead to the topic narrow.
Related issues
This will also be relevant for the channel action sheet, which will be offered on long-press in this area:
Implementation
I believe the bug can be fixed by adding a line to the relevant
GestureDetector
:We also need a widget test for the fix; we won't merge a PR without this. The test should pass after the fix and fail before the fix.
The text was updated successfully, but these errors were encountered: