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

Fix sending pixel when dismissing keyboard on NTP #3709

Merged
merged 3 commits into from
Dec 10, 2024

Conversation

dus7
Copy link
Contributor

@dus7 dus7 commented Dec 10, 2024

Task/Issue URL: https://app.asana.com/0/1206226850447395/1208763673835126/f
Tech Design URL:
CC:

Description:

Fixed a few issues with sending pixel while dismissing keyboard with a swipe gesture:

  1. Prevented sending pixel twice with a long gesture.
  2. Fixed isDragging to set when swiping upwards.
  3. Prevented stuttering of view while doing the scroll gesture with keyboard present.

Steps to test this PR:
Observe a single m.addressbar.focus.dismiss.gesture being sent while on a NTP with favorites and:

  1. Dismissing keyboard by scrolling up
  2. Dismissing keyboard by scrolling down
  3. Dismissing keyboard by scrolling continuously up and down

Definition of Done (Internal Only):


Internal references:

Software Engineering Expectations
Technical Design Template

@dus7 dus7 requested a review from brindy December 10, 2024 14:26
@dus7 dus7 changed the base branch from main to release/7.149.0 December 10, 2024 14:34
Copy link
Contributor

@brindy brindy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dus7 dus7 merged commit d43e29d into release/7.149.0 Dec 10, 2024
26 checks passed
@dus7 dus7 deleted the mariusz/fix-ntp-dismiss-pixel branch December 10, 2024 15:48
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

Successfully merging this pull request may close these issues.

2 participants