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(app): fix Touchscreen Sleep scrolling issue #12992

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

koji
Copy link
Contributor

@koji koji commented Jun 27, 2023

When tap Sleep settting, the touchscreen app display the top

Overview

before
https://github.com/Opentrons/opentrons/assets/474225/e3373f4e-1318-4bf4-a2a1-2def9cb3258c

after
https://github.com/Opentrons/opentrons/assets/474225/6f260e4c-a2c4-4d24-9efe-06e5ed964ea9

Test Plan

  1. Tap Settings
  2. Tap Touchscreen Sleep
    The app shows the screen's title without scrolling

Changelog

  • add useEffect to scroll up to the top when tapping touchscreen sleep

Review requests

Risk assessment

low

When tap Sleep settting, the touchscreen app display the top
@koji koji requested a review from a team June 27, 2023 18:43
@koji koji marked this pull request as ready for review June 27, 2023 18:44
@koji koji requested a review from a team as a code owner June 27, 2023 18:44
@koji koji requested review from jerader and removed request for a team June 27, 2023 18:44
@codecov
Copy link

codecov bot commented Jun 27, 2023

Codecov Report

Merging #12992 (e5cad65) into edge (1741d29) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #12992   +/-   ##
=======================================
  Coverage   72.54%   72.54%           
=======================================
  Files        1542     1542           
  Lines       50521    50521           
  Branches     3180     3180           
=======================================
  Hits        36649    36649           
  Misses      13394    13394           
  Partials      478      478           
Flag Coverage Δ
app 43.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@koji koji removed the request for review from jerader June 27, 2023 19:08
@koji koji merged commit 8259fc6 into edge Jun 28, 2023
@koji koji deleted the fix_sleepsettings-scrollilng-issue branch July 8, 2023 22:29
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