Tolriq
01/27/2023, 8:42 AMconstraints.copy(maxWidth = Constraints.Infinity)
to measure a SubcomposeLayout and use a very very large string it will crash with :
java.lang.IllegalArgumentException: Can't represent a size of 271788 in Constraints
Seeing the code it's > 256K so normal crash, but then why proposing the Infinity? (This will crash also for example .basicMarquee(). Would this be considered a bug or a limitation that is not easy to find?