message: fix(ButtonGroup): added sameHeight feature - Leadspace issue related
  The Buttons should have the same height, even if a text of one button is larger than the other. The issue mentioned above is related to Leadspace pattern, but the fix was applied to ButtonGroup since it's used in the Leadspace pattern.
diff: @@ -8,6 +8,8 @@ import React, { useEffect, useLayoutEffect, useRef } from 'react';
  import Button from '../../internal/vendor/carbon-components-react/components/Button/Button';
  import ddsSettings from '@carbon/ibmdotcom-utilities/es/utilities/settings/settings';
  import PropTypes from 'prop-types';
  +import root from 'window-or-global';
  +import sameHeight from '@carbon/ibmdotcom-utilities/es/utilities/sameHeight/sameHeight';
  import settings from 'carbon-components/es/globals/js/settings';
  const { stablePrefix } = ddsSettings;
  @@ -97,6 +99,28 @@ const ButtonGroup = ({ buttons, enableSizeByContent }) => {
  };
  }, []);
  + useEffect(() => {
  + if (buttons.length > 1) {
  + setSameHeight();
  + root.addEventListener('resize', setSameHeight);
  + return () => root.removeEventListener('resize', setSameHeight);
  + }
  + }, [buttons]);
  +
  + /**
  + * Set the buttons to have the same height based on the tallest one
  + */
  + const setSameHeight = () => {
  + root.requestAnimationFrame(() => {
  + const { current: containerNode } = groupRef;
  + if (containerNode) {
  + sameHeight(
  + containerNode.getElementsByClassName(`${prefix}--buttongroup-item`)
  + );
  + }
  + });
  + };
  +
  return (
  <ol
  className={`${prefix}--buttongroup`}
  