For #10555 - Dont auto show toolbar after short taps #10562
Conversation
This pull request has conflicts when rebasing. Could you fix it @Mugurell? 🙏 |
edcb765
to
fca33ab
Compare
This pull request has conflicts when rebasing. Could you fix it @Mugurell? 🙏 |
e15ec20
to
fcf8f38
Compare
Thank you @pocmo ! I see one test was failing, because here I haven't updated it based on the proposed changes - inputResult is not Everything should be green now but even if the changes are small I'd prefer landing this after the merge and after some time in Nightly uplift it if needed. |
This pull request has conflicts when rebasing. Could you fix it @Mugurell? 🙏 |
fcf8f38
to
160ec02
Compare
One more try. |
…of InputResultDetail We need to wait until having a response from GeckoView on how it handled the touch only after which we'll know whether to animate the toolbar or not. The edgecase scenario of having pull to refresh enabled even before having a response from GeckoView will still work because "canOverscrollTop()" only checks for the touch to not be handled by the browser to pan the page.
The previous implementation was affected by the fact that the class has 3 integer properties, all with values [0..4] (-1 was added recently) and it would just add those value to compute the hashcode. Collisions were a given. By using decimal places for each property the new implementation should avoid collisions while allowing for all the other expected guarantees.
This commented method seems to be a leftover from the previous refactoring. "behavior.forceExpand(..)" now calls "expandWithAnimation" for which we already have a test at line 450.
I'm seeing the same error as above for the |
160ec02
to
a6f47fd
Compare
@Mergifyio backport releases_v91.0.0 |
Command
|
@Mergifyio backport releases_91.0 |
Command
|
@Mergifyio backport releases/91.0 |
Command
|
@Mergifyio backport releases/91.0 |
Command
|
Not sure why this fails. |
@Mergifyio backport releases/91.0 |
Command
|
@Mergifyio backport releases/91.0 |
Command
|
@Mergifyio backport releases/91.0 |
Command
|
We need to wait until having a response from GeckoView on how it handled the
touch only after which we'll know whether to animate the toolbar or not.
The edgecase scenario of having pull to refresh enabled even before having a
response from GeckoView will still work because "canOverscrollTop()" only
checks for the touch to not be handled by the browser to pan the page.
ShortTapsAreIgnored.mp4
Pull Request checklist
After merge