You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @sksamuel 👋 . The number of columns is purely based on the width CSS property applied to the wrapper. You can easily override this using one of the following techniques.
Pass a custom className and apply your own CSS width property
Pass an inline style block with your own value such as style={{ width: 400 }}
If you're using Emotion for styles (EUI is transitioning to this), pass a custom css value such as
When we start converting the EuiKeyPadMenu component to Emotion (#5685) we can consider adding a prop to make it easier for consumers to add more columns. Maybe a width prop on the wrapper component <EuiKeyPadMenu width={400} />?
Also if we add this ability to change the width we should add some guidelines on what max number of times per row is considered a good design practice.
👋 This issue hasn't seen activity in 3 days, so we're automatically closing this issue as answered. Please leave a comment if that's not the case, or if you have any remaining questions or issues.
As the title says, would be great to allow 4/5 or more columns in the EuiKeyPadMenu
The text was updated successfully, but these errors were encountered: