João Pedro Magalhães

Results 53 comments of João Pedro Magalhães

Hey @justkahdri, I don't think anything has changed https://codesandbox.io/p/sandbox/pensive-shadow-j8m3lm Can you provide a sandbox?

> @jpizzle34 @benoitgrelard can you provide an example to force an open state on a navigation item? ```tsx ... // or const [value, setValue] = React.useState('some-value-item') ... ```

A simple way is `onInteractOutside={event => event.preventDefault()}` in `SheetContent`

How are you trying to add the exit animation?

Seems to be an issue https://github.com/shadcn/ui/pull/127

It's an issue with Radix https://github.com/radix-ui/primitives/issues/1159. In the meantime, you can remove the portal part from Popover

> Hey! Sorry but what do you mean by removing the portal part from Popover? I mean just not render the `PopoverPrimitive.Portal` component

https://github.com/radix-ui/primitives/issues/2448#issuecomment-1758438552

@rogueturnip try use `value={field.value}` instead of `defaultValue={field.value}`

Hey @rogueturnip, if your issue is the same as @yousihy, make sure the value prop of `SelectItem` is a string [Codesandbox](https://codesandbox.io/p/sandbox/mystifying-cookies-zw7hvq?file=/app/page.tsx:1,1)