@atlaskit/link-picker 1.16.1 → 1.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.16.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`998a9316ce3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/998a9316ce3) - EDM-4959 update scrolling tabs to remain still for link picker when tabs are changed as a fix for a flakey vr test
8
+
3
9
  ## 1.16.1
4
10
 
5
11
  ### Patch Changes
@@ -63,7 +63,9 @@ var ScrollingTabList = function ScrollingTabList(props) {
63
63
 
64
64
  if (target) {
65
65
  target.scrollIntoView({
66
- behavior: 'smooth'
66
+ behavior: 'smooth',
67
+ block: 'nearest',
68
+ inline: 'center'
67
69
  });
68
70
  }
69
71
  }, []);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.16.1",
3
+ "version": "1.16.2",
4
4
  "sideEffects": false
5
5
  }
@@ -27,7 +27,9 @@ export const ScrollingTabList = props => {
27
27
 
28
28
  if (target) {
29
29
  target.scrollIntoView({
30
- behavior: 'smooth'
30
+ behavior: 'smooth',
31
+ block: 'nearest',
32
+ inline: 'center'
31
33
  });
32
34
  }
33
35
  }, []);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.16.1",
3
+ "version": "1.16.2",
4
4
  "sideEffects": false
5
5
  }
@@ -41,7 +41,9 @@ export var ScrollingTabList = function ScrollingTabList(props) {
41
41
 
42
42
  if (target) {
43
43
  target.scrollIntoView({
44
- behavior: 'smooth'
44
+ behavior: 'smooth',
45
+ block: 'nearest',
46
+ inline: 'center'
45
47
  });
46
48
  }
47
49
  }, []);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.16.1",
3
+ "version": "1.16.2",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.16.1",
3
+ "version": "1.16.2",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {