João Pedro Magalhães

Results 53 comments of João Pedro Magalhães

> Also, currently if the user clicks on a tooltip immediately, the tooltip isn't even shown after the expected delay. When the tooltip trigger is clicked the tooltip is closed...

This is because of accessibility. If you want to keep the content outside of the dropdown interactive you can use `modal={false}` in `DropdownMenu.Root`

Are you export your components with `use client`?

You can type `onPointerDownOutside` like ```tsx type ContentProps = React.ComponentProps type Props = { onPointerDownOutside: ContentProps['onPointerDownOutside'] } ```

It's probably an issue with your environment. I just tested it on a new vite project and it's working

@frykten Yes definitely. Unfortunately, I think the team didn't have time to review the PR...

In the meantime, you can use this workaround https://github.com/radix-ui/primitives/issues/1280#issuecomment-1319109163 or this https://codesandbox.io/p/sandbox/throbbing-lake-84vkp7 (need to open the preview in a new tab to show the Grammarly)

> Perfect, that helps a ton! It's not a bulletproof solution, clicks in these red zones still register as "outside" but at least the inline suggestions will be taken care...