SUI-Components/sui-components

🪲 hook usePortal

andresin87 opened this issue · 0 comments

URL

https://sui-components.vercel.app/workbench/hook/usePortal/demo

Steps to reproduce

When the portal is opened by default, the targeted element becomes the document body until new refresh in first render

Expected Behavior

get The targeted provided element on first render

Screenshots

No response

Which device have you used?

  • Desktop
  • Tablet
  • Mobile
  • smartTV

Which operating systems have you used?

  • Windows
  • Linux
  • macOS

browser and version

No response

Additional info

No response