#Wojtek
1 messages · Page 1 of 1 (latest)
Can you share a screenshot of what you're working on?
I want this chip to open a menu below with checkboxes
At this point the menu pushes the content down because I didn't find any way to make this a position absolute
(the same example is shown in the docs for Chip component)
What component are you using for the dropdown? <Box> accepts custom CSS: https://stripe.com/docs/stripe-apps/style#custom-styles
So you could wrap whatever you have there, with a <Box> that is positioned as you need
Box exactly, but it doesn't support position
Hmm
Maybe <Menu> is what you need? https://stripe.com/docs/stripe-apps/components/menu
I tried the menu, but it won't open if the Chip is used as trigger
Alright, passing position works, but it's missing in the TS types. I think I'll just hack it this way adding @glad quarry-ignore
Ah, really? That's a shame.
I'd definitely file an issue on the repo as this seems like a pretty common UI pattern we should account for if we don't already: https://github.com/stripe/stripe-apps/issues
Will do, thanks