project-robius / robrix

A multi-platform Matrix chat client written in pure Rust using the Makepad UI toolkit and the Robius app dev framework
MIT License
93 stars 17 forks source link

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

Closed kevinaboos closed 3 months ago

kevinaboos commented 3 months ago

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.