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

Using this widget inside a ListView shows the artifacts outside the ListView boundary. #33

Open
Abhilash-Chandran opened this issue Jan 5, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Abhilash-Chandran
Copy link
Owner

Abhilash-Chandran commented Jan 5, 2021

Using both the NumberInputWithIncrementDecrement and NumberInputPrefabbed inside a ListView shows the respective background decoration of the increment/decrement buttons outside the ListView. This is a known issue in flutter and is related to the Ink widget used internally.

A different approach should be created perhaps using the MaterialButton widget. But this means the type of decoration of the increment and decrement button should be adapted and its a breaking change. 😞 So I will wait for the main issue to be fixed at at first and then provide.

Another option is to deprecate the existing option and use a different implementation without affecting existing users.

Existing users can use change the cacheExtent of ListView to 0 to avoid this issue. However this may lead to performance issue in the ListView scrolling.

TzvZgAvcET.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant