While working on our React to Preact migration, we’ve hit roadblocks for this component.
React: Popover
Preact: Popover
Would it be possible to address the following regressions?:
Thank you very much!
Hi @muchisx - thanks for reaching out.
We recently released a migration guide for the new API intended to replace these, and theres a note about these properties on that page:
The previous
Popoveralignmentandpositionprops have been removed. The Polaris popover positions itself relative to the trigger automatically and repositions to avoid overflowing the viewport — which was the primary use case for the previousalignmentandpositionprops.
If the automatic popover position is still a blocker for you, could you please share some details about your specific implementation so that we can better understand your use case?
I hope this help and let us know if you have any other questions as well.