Haz
Haz
Ah, I missed the part where you said the popover doesn't open. The popover isn't opening on the StackBlitz link you shared because you're not spreading the remaining props onto...
Exactly, that's why I suggested https://github.com/ariakit/ariakit/issues/3754#issuecomment-2088269028
> ### Steps to reproduce the bug > 1. Open https://stackblitz.com/edit/github-vjvhs5-d9z3gk?file=src%2FApp.tsx > 2. Open the select > 3. Try typing "G" for Germany or any other country below the fold...
This is because `PopoverDisclosure` already implements `PopoverAnchor` underneath and it's taking precedence. Though I agree in this case `PopoverAnchor`, when used together with `PopoverDisclosure`, should always take precedence.
I'd say using `getAnchorRect` on `Popover` is a better solution for now.
Hi @FlorianBurgevin! Could you please provide a repro? It's working well here: https://stackblitz.com/edit/qh8kyv?file=package.json,popover-selection%2Findex.tsx&theme=dark
I'm unable to replicate this issue myself, so I'd appreciate a StackBlitz, CodeSandbox, or even a repository link that demonstrates the problem. It's also not clear whether the components aren't...
@FlorianBurgevin, thanks for providing the reproduction. It appears to be an issue with the TypeScript v4 compiler. I'll look into what we can do on our end, but please note...
I've applied some of the changes proposed in this issue: - Examples are now in the root directory: https://github.com/ariakit/ariakit/tree/main/examples - Test files don't include any framework-specific code or JSX anymore....
> * However, the `@ariakit/test` package still depends on `@testing-library/react` and uses the `act` method from React. We can probably replace `@testing-library/react` with `@testing-library/dom` and do something about `act` (maybe...