@topconsultnpm/sdkui-react-beta 6.14.129 → 6.14.130

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.
@@ -407,7 +407,7 @@ const TMBlogs = (props) => {
407
407
  // Scroll the focused blog post into view
408
408
  useEffect(() => {
409
409
  if (focusedBlog && focusedBlog.id && containerRef.current) {
410
- const focusedElement = document.getElementById(id + "-" + uiId + focusedBlog.id.toString());
410
+ const focusedElement = document.getElementById(id + "-" + uiId + "-" + focusedBlog.id.toString());
411
411
  if (focusedElement) {
412
412
  focusedElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
413
413
  }
@@ -417,7 +417,7 @@ const TMBlogs = (props) => {
417
417
  const scrollRef = useRef(null);
418
418
  useEffect(() => {
419
419
  if (focusedBlog && focusedBlog.id) { // containerRef.current
420
- const focusedElement = document.getElementById(id + "-" + uiId + focusedBlog.id.toString());
420
+ const focusedElement = document.getElementById(id + "-" + uiId + "-" + focusedBlog.id.toString());
421
421
  if (focusedElement) {
422
422
  focusedElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
423
423
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.14.129",
3
+ "version": "6.14.130",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",