samples icon indicating copy to clipboard operation
samples copied to clipboard

Scroll malfunction when keyboard is activated in `material_3_demo`

Open bisor0627 opened this issue 2 years ago • 4 comments

I have encountered an issue where scrolling does not function correctly. I have attached two videos for reference:

Video 1: Current malfunctioning behaviour

https://github.com/flutter/samples/assets/81757940/5d3c0715-25ef-4b00-974c-3a2765691903

Video 2: Expected behaviour

https://github.com/flutter/samples/assets/81757940/fe94829e-fd7c-4e84-8c88-cb00c8102a68

From my investigation, the HEAD of the material_3_demo has a scrolling error when the keyboard is activated. Moreover, when I tested after reverting the commit 1d6e5a0ece7e4f7b5b24217fa45c2862667e8828, the error seemed to disappear.

Since I have minimal experience contributing, I am unsure if it would be proper etiquette to submit a PR with a commit that reverts another contributor's work. Therefore, I am choosing to bring up this issue instead.

bisor0627 avatar Jun 06 '23 11:06 bisor0627

PTAL @QuncCccccc

domesticmouse avatar Jun 28 '23 00:06 domesticmouse

Thanks for letting me know! Taking a look.

QuncCccccc avatar Jun 28 '23 17:06 QuncCccccc

@QuncCccccc can you give a status update?

domesticmouse avatar Sep 18 '23 05:09 domesticmouse

@QuncCccccc can you give a status update?

I think the issue happens after we added the BuildSlivers which is used for estimating the max scroll offset and fixing the scroll bar shaking problem. I'm still investigating the root cause, but might need to fix some other issues before I come back to work on this. Sorry for the late update as I just came back from vacation.

QuncCccccc avatar Sep 18 '23 12:09 QuncCccccc