formaat-design / reshaped

Community repository for storing examples, reporting issues and tracking roadmap
https://reshaped.so
110 stars 3 forks source link

[Feature Request] OverlayProvider #305

Open vladoyoung opened 3 weeks ago

vladoyoung commented 3 weeks ago

Is your feature request related to a problem? Please describe. I'm building a custom overlay component that I can contain within a specified container because Overlay doesn't have a <OverlayProvider>

Describe the solution you'd like It would be nice if we can get a provider to specify the position and bounds of the Overlay, similar to the Toast

blvdmitry commented 3 weeks ago

Hey, this sounds similar to https://github.com/formaat-design/reshaped/issues/290, are you also trying to achieve the same?

vladoyoung commented 3 weeks ago

Yeah, it's similar. Just like the ToastProvider limits the bounds, container and positioning of the Toast inside, I'm looking for something similar for the Overlay component