This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Commit 0bfef11
authored
Fix TabBar scrolling (#1178)
Task/Issue URL:
https://app.asana.com/0/1177771139624306/1204477216680148/f
**Description**:
- Fixes related to scrolling to Tab Bar selection
**Steps to test this PR**:
1. Open many tabs to enter overflow mode
2. Reorder some tabs within the window
3. Validate tabs selection correctly adjusts tabs width
4. Drag very first tab to the far right of the tab bar - ensure TabBar
is scrolled to show the tab completely
5. Open new window
6. Select another tab in the first window - ensure its width is
correctly updated with animation
<!--
Tagging instructions
If this PR isn't ready to be merged for whatever reason it should be
marked with the `DO NOT MERGE` label (particularly if it's a draft)
If it's pending Product Review/PFR, please add the `Pending Product
Review` label.
If at any point it isn't actively being worked on/ready for
review/otherwise moving forward (besides the above PR/PFR exception)
strongly consider closing it (or not opening it in the first place). If
you decide not to close it, make sure it's labelled to make it clear the
PRs state and comment with more information.
-->
---
###### Internal references:
[Pull Request Review
Checklist](https://app.asana.com/0/1202500774821704/1203764234894239/f)
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
**When ready for review, remember to post the PR in MM**1 parent aca926d commit 0bfef11
File tree
3 files changed
+19
-16
lines changed- DuckDuckGo/TabBar/View
3 files changed
+19
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| 350 | + | |
350 | 351 | | |
351 | 352 | | |
352 | 353 | | |
| |||
659 | 660 | | |
660 | 661 | | |
661 | 662 | | |
662 | | - | |
| 663 | + | |
663 | 664 | | |
664 | 665 | | |
665 | 666 | | |
| |||
820 | 821 | | |
821 | 822 | | |
822 | 823 | | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
| 824 | + | |
830 | 825 | | |
831 | 826 | | |
832 | 827 | | |
| |||
975 | 970 | | |
976 | 971 | | |
977 | 972 | | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
978 | 976 | | |
979 | 977 | | |
980 | 978 | | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
981 | 982 | | |
982 | 983 | | |
983 | 984 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | | - | |
62 | | - | |
63 | 60 | | |
| 61 | + | |
| 62 | + | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
0 commit comments