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 inserting selected tab into a scrollable tab collection #642

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

ayoy
Copy link
Collaborator

@ayoy ayoy commented Jul 15, 2022

Task/Issue URL: https://app.asana.com/0/0/1202608828742665/f

Description:
If the item was inserted outside of collection's visible content rect, the collection needs
an explicit API call to scroll to reveal it.

Steps to test this PR:

  1. best to use a mouse with a middle click
  2. open https://news.ycombinator.com/
  3. open multiple new child tabs (e.g. by using middle click)
  4. open a new selected child tab (middle click + shift)
  5. verify that the new tab is shown

Testing checklist:

  • Test with Release configuration

Internal references:

Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

@samsymons samsymons self-assigned this Jul 15, 2022
Copy link
Collaborator

@samsymons samsymons left a comment

Choose a reason for hiding this comment

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

👍

@samsymons samsymons assigned ayoy and unassigned samsymons Jul 15, 2022
@ayoy ayoy merged commit 3c24b73 into develop Jul 18, 2022
@ayoy ayoy deleted the dominik/scroll-to-selected branch July 18, 2022 09:13
samsymons added a commit that referenced this pull request Jul 19, 2022
* develop:
  Revert "bump BSK to shane/autofill-username"
  bump BSK to shane/autofill-username
  Scroll to selected tab after inserting to ensure that it is visible (#642)
samsymons added a commit that referenced this pull request Jul 25, 2022
* release/0.27.0:
  Set version to 0.27.0.
  Update embedded data.
  Avoid the data import button being disabled too frequently (#650)
  Autoconsent refactoring (#643)
  Refresh top level entities when updating a bookmark (#651)
  Pinned tabs (#639)
  Remove local history of the remaining window's tab collection after burning all data (#645)
  Revert "bump BSK to shane/autofill-username"
  bump BSK to shane/autofill-username
  Scroll to selected tab after inserting to ensure that it is visible (#642)
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