https://kotlinlang.org logo
#compose
Title
# compose
i

Ian Warwick

02/02/2020, 10:38 AM
Its not happening all the time but its when toggling a model boolean property which in turn recomposes part of the UI, in my little card app if you click on a card it recomposes to toggle to the back or front of the card, I was repeatedly clicking it when this happened
The red card with red text recomposes when clicking it
only happens sometimes, if I click it to fast (I think) it gives me that crash
AHA I think it happens when my clicking finger slips and maybe selects the text and somehow then crashes later
Ok think I got it, 1. I select text
2. I flip the card, text selection is still visible from last composition
3. When I pull the little blue drag handles I get that crash (which makes sense since the text is gone with the last composition)
a

Andrey Kulikov

02/02/2020, 12:15 PM
yes, it is related to selection. it is a bug we already fixed in master, but unfortunately after cutting dev04 build
👍 1
i

Ian Warwick

02/02/2020, 2:21 PM
ah very nice thanks!
2 Views