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

Properly handle events when the user profile pane is shown #80

Merged

Conversation

kevinaboos
Copy link
Member

@kevinaboos kevinaboos commented Jul 15, 2024

Events that flow into the RoomScreen either get forwarded to the underlying timeline view or the user profile sliding pane. If the pane is currently shown, mouse/touch/tap events are forwarded to the pane ONLY, and not the underlying timeline. Other events (e.g., draw events) are always forwarded to the underlying timeline.
If the pane is not shown, events are also forwarded to the timeline view, as normal.

Solution suggested by @jmbejar.

Events that flow into the RoomScreen either get forwarded to
the underlying timeline view or the user profile sliding pane.
If the pane is currently shown, mouse/touch/tap events are forwarded
to the pane *ONLY*, and not the underlying timeline.
Other events (e.g., draw events) are always forwarded to the underlying
timeline.
If the pane is not shown, events are also forwarded to the timeline view,
as normal.
@kevinaboos kevinaboos merged commit a5ff746 into project-robius:main Jul 15, 2024
1 check passed
@kevinaboos kevinaboos deleted the user_profile_pane_event_handling branch July 15, 2024 17:39
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.

1 participant