appsmith
appsmith copied to clipboard
The width of the button group doesn't increase in the first go when we add more buttons to it
Fix #22962
To fix this, you could update the ButtonGroupComponentState interface to include a numButtons property that tracks the number of buttons in the group. Then, in the render method of the ButtonGroupComponent, you could calculate the total width of the buttons based on the sum of their widths, and set the width of the ButtonGroupWrapper using the style prop.
Please free to contact [email protected]
Welcome to the Appsmith community! Thank you for your first pull request and making this project better. 🤗 Please make sure that you raise a review request so your code change does not go unnoticed.
This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected.
This PR has been closed because of inactivity.