Conversation
|
Build successful! 🎉 |
@snowystinger I'm not able to get into that state. What is the browser and repro steps? |
|
Ah, ok, I see what is happening. I got a little confused. I went to that story, then clicked "Show All" which should rightfully extend beyond the maxRows. However, where it gets weird is that if I expand the container, then eventually everything shows on two rows and the "Show less" button gets hidden. So I was seeing that button appear and disappear even though I hadn't altered the props or interacted with the button again. I'm not sure if it's right or wrong. If it was shown when everything fits, then clicking that button wouldn't do anything anyways. I think it's probably fine as it is because of that last point. |
|
Build successful! 🎉 |
@yihuiliao Good catch! Looks like in the buttons width calculation, I forgot to multiply the margin values we're adding by the number of buttons. I also noticed that since buttons have the same margin as tags in our css, I can use the static values we have instead of calling |
|
Build successful! 🎉 |
|
Build successful! 🎉 |
|
Build successful! 🎉 |
|
Build successful! 🎉 |
|
## API Changes
unknown top level export { type: 'identifier', name: 'Column' } |







Fixes the case where
Since we detected that all tags were shown, we wrongly assumed we could stop removing tags. We still need to remove some tags in order to show the action button on the last line.
✅ Pull Request Checklist:
📝 Test Instructions:
Test 'with action and maxRows' story. Resize container and make sure action button never gets hidden.
Test other maxRows stories.
🧢 Your Project: