Files
letro-android/features
Jorge Martin Espinosa a2d9f241dd Fix long messages not being clickable (#6356)
* Fix long messages not being clickable

As @bmarty found out, `clip = true` causes the click event to be ignored in some cases. Since we have the shape we want to draw and we're using a custom `onDraw` modifier anyway to cut-out part of the path, we can just draw everything using the modifier and avoid using `clip = true`.

This seems to fix the issue.

* Fix clipping of images or other items that cover the bubble

* Fix borders being displayed for contents

* Extract the layer drawing logic into `drawInLayer` to simplify the inlined code. Remove redundant code, those changes are now in the `drawInLayer` block

* Workaround for lint issue: it seems like detekt can't properly detect usages in content receivers

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-03-23 18:11:55 +01:00
..
2026-03-16 14:54:06 +01:00
2026-03-16 00:42:32 +00:00
2026-03-16 00:42:32 +00:00
2026-03-16 00:42:32 +00:00
2026-03-16 00:42:32 +00:00
2026-03-16 17:36:13 +01:00
2026-03-16 00:42:32 +00:00
2026-03-16 00:42:32 +00:00
2026-03-16 00:42:32 +00:00
2026-03-16 00:42:32 +00:00
2026-03-16 00:42:32 +00:00
2026-03-16 00:42:32 +00:00
2026-03-16 14:54:06 +01:00
2026-03-16 14:54:06 +01:00
2026-03-16 00:42:32 +00:00
2026-03-16 14:54:06 +01:00
2026-03-16 14:54:06 +01:00
2026-03-16 00:42:32 +00:00
2026-03-16 14:54:06 +01:00
2026-03-05 10:46:20 +01:00
2026-03-16 14:54:06 +01:00
2026-03-16 14:54:06 +01:00
2026-03-16 00:42:32 +00:00
2026-03-16 00:42:32 +00:00
2026-03-16 14:54:06 +01:00