A expander that can expand above it

using Python 3.11.7 and Streamlit 1.31.0

Iโ€™m making a applicantion and I want to use a expander that instead of expanding under it, would expand above.
I want to know if itโ€™s possible in some way.

(Like it works on ChatGPT or other many application

Weโ€™re actually working on a popover element right now! Keep an eye on the next couple of releases; it should be available soon. :grin: