@patternfly/react-core 4.200.0 → 4.200.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "4.200.0",
3
+ "version": "4.200.1",
4
4
  "description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -34,9 +34,9 @@
34
34
  "generate": "node scripts/copyStyles.js"
35
35
  },
36
36
  "dependencies": {
37
- "@patternfly/react-icons": "^4.51.0",
38
- "@patternfly/react-styles": "^4.50.0",
39
- "@patternfly/react-tokens": "^4.52.0",
37
+ "@patternfly/react-icons": "^4.51.1",
38
+ "@patternfly/react-styles": "^4.50.1",
39
+ "@patternfly/react-tokens": "^4.52.1",
40
40
  "focus-trap": "6.2.2",
41
41
  "react-dropzone": "9.0.0",
42
42
  "tippy.js": "5.1.2",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.8.0 || ^17.0.0",
61
61
  "react-dom": "^16.8.0 || ^17.0.0"
62
62
  },
63
- "gitHead": "ece8d3daaff4df670618823e159fa5eea1b95490"
63
+ "gitHead": "0ae1c2fe74b54b12236dcc7d64f9b3827d457d8d"
64
64
  }
@@ -105,10 +105,18 @@ OptionsTooltip = () => {
105
105
  const [exitDelayInput, setExitDelayInput] = React.useState(0);
106
106
  const [animationDuration, setAnimationDuration] = React.useState(300);
107
107
  const tipBoxRef = React.useRef(null);
108
- const scrollToRef = ref => ref && ref.current && (ref.current.scrollTop = 400);
108
+
109
+ const scrollToRef = ref => {
110
+ if (ref && ref.current) {
111
+ ref.current.scrollTop = 400;
112
+ ref.current.scrollLeft = 300;
113
+ }
114
+ }
115
+
109
116
  React.useEffect(() => {
110
117
  scrollToRef(tipBoxRef);
111
118
  }, []);
119
+
112
120
  return (
113
121
  <>
114
122
  <div>
@@ -2,7 +2,7 @@
2
2
  height: 450px;
3
3
  position: relative;
4
4
  width: 100%;
5
- overflow-y: scroll;
5
+ overflow: scroll;
6
6
  overscroll-behavior: contain;
7
7
  margin: 0 auto;
8
8
  border: 2px dashed #ff6b81;
@@ -12,10 +12,10 @@
12
12
  .tooltip-box::after {
13
13
  content: '';
14
14
  display: block;
15
- width: 1px;
15
+ width: 1500px;
16
16
  height: 600px;
17
17
  }
18
18
  .tooltip-button {
19
19
  position: absolute;
20
- left: 300px;
21
- }
20
+ left: 600px;
21
+ }