Chromium Code Reviews
Description[Android] Fix a bug where the suggestion list can't scroll
After we placed omnibox suggestion list as a child of
CompositorViewHolder, it no longer is able to scroll.
The investigation of this regression gave interesting result: if an
ACTION_MOVE is dispatched to a ListView or a ScrollView and the
ViewGroup intercepts it, the framework will generate an ACTION_CANCEL to
the ViewGroup's children. The behavior, however, will steal this cancel
event and send to the ViewGroup again, causing scroll to fail. Thus we
should specifically not catch ACTION_CANCEL in behavior.
BUG=648136
Committed: https://crrev.com/54b3389c1b9f0baf10fedd3bb78c85091a4e49b7
Cr-Commit-Position: refs/heads/master@{#434761}
Patch Set 1 #
Total comments: 1
Patch Set 2 : mdjones@'s comments #Messages
Total messages: 13 (5 generated)
|