Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Modifier.pointerInput #39

Open
ITmind opened this issue Oct 27, 2023 · 3 comments
Open

Problem with Modifier.pointerInput #39

ITmind opened this issue Oct 27, 2023 · 3 comments

Comments

@ITmind
Copy link

ITmind commented Oct 27, 2023

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

@a914-gowtham
Copy link
Owner

@ITmind will fix this. a PR would be helpful if possible

@a914-gowtham
Copy link
Owner

#40
@ITmind can u check this

@ITmind
Copy link
Author

ITmind commented Oct 27, 2023

#40 @ITmind can u check this

yes, this ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants