Open ITmind opened 1 year ago
Not use pointerInput(Unit), It captures the lambda with all the variables inside. Use, for example, pointerInput(onValueChange). I spent a day trying to figure out why the new version stopped selecting ratings in some cases.
Description of a similar problem: https://stackoverflow.com/questions/70849243/listeners-inside-detecttapgestures-only-ever-get-the-first-variable-value-othe
@ITmind will fix this. a PR would be helpful if possible
https://github.com/a914-gowtham/compose-ratingbar/pull/40 @ITmind can u check this
40 @ITmind can u check this
yes, this ok
Not use pointerInput(Unit), It captures the lambda with all the variables inside. Use, for example, pointerInput(onValueChange). I spent a day trying to figure out why the new version stopped selecting ratings in some cases.
Description of a similar problem: https://stackoverflow.com/questions/70849243/listeners-inside-detecttapgestures-only-ever-get-the-first-variable-value-othe