How to use interactive prompts with ratatui?

I want to implement a user input prompt with “inquire” (GitHub - mikaelmello/inquire: A Rust library for building interactive prompts) in a Ratatui application, ideally in a popup triggered by a key event.
Context is writing a pretty simple application for personal expenses, that allows to add new entries (e.g. “category”, “shop”, “amount” …) in a comfortable way. For this I want to have tab completion for known “shops” and so on.
I’m failing to integrate the “inquire” prompt properly into Ratatui.

Ratatui takes control of drawing the full screen of your app (or less in some cases). It’s unlikely to work well with other things that try to do similar things. I started a small lib tui-prompts which does a bit of the sorts of thing that inquire / dialoger / etc. do, but haven’t worked on it much. Perhaps consider contributing to it?