Describe the bug
FloatingUI is not working when a custom component is used as ref, eg:
// Not working
<PopoverButton as="template">
<BaseButton>Button </BaseButton>
</PopoverButton>
// Works
<PopoverButton as="template">
<button>Button</button>
</PopoverButton>
To Reproduce
Please provide a minimal working example (like github repo, codesandbox, stackblitz...), and steps to reproduce the behavior:
Use Version Use version when bugs appear:
Describe the bug FloatingUI is not working when a custom component is used as ref, eg:
To Reproduce Please provide a minimal working example (like github repo, codesandbox, stackblitz...), and steps to reproduce the behavior:
Screenshots
Expected behavior Button 2 should work exactly as button 1
PS: Nice work on this lib! Have spent way too much time trying to roll my own, switching over currently. Thanks for the work.