shadcn dialog shows inside of row instead of normal dialog
Answered
American black bear posted this in #help-forum
American black bearOP
started discussion in #off-topic , moving it here
59 Replies
Bighead carp
@American black bear paste the code into here: https://paste.myst.rs/
@Bighead carp <@489852928341835776> paste the code into here: https://paste.myst.rs/
American black bearOP
pasted
Bighead carp
...
send me the link
@Bighead carp send me the link
American black bearOP
Bighead carp
PLEASE indent code properly
man thats so difficult to read
@American black bear https://paste.myst.rs/y4lrfitp
Bighead carp
this code is wrong - you have <Dialog> as the parent
you should have <DropdownMenu> as the parent
@Bighead carp you should have <DropdownMenu> as the parent
American black bearOP
what about now?
Bighead carp
did you even look at the screenshots i sent you
American black bearOP
yes
Bighead carp
are you 100% sure because thats not what my code shows is it
Try this
@Bighead carp Try this
American black bearOP
still the same issue
Bighead carp
are you refreshing your page?
@Bighead carp are you refreshing your page?
American black bearOP
yes
Bighead carp
restart the server too
change the text of a button and make sure its changing
American black bearOP
restarting the server right now
yeah same issue
@Bighead carp .
American black bearOP
yeah it still gives the same issue
Bighead carp
huh?
@Bighead carp huh?
American black bearOP
Bighead carp
does renaming a button update the text on a page
rename 'Save changes' to 'save changessss'
does it update
@Bighead carp does renaming a button update the text on a page
American black bearOP
yeah but it still does not work
Bighead carp
show me it updating
American black bearOP
Bighead carp
screenshot the console
American black bearOP
Bighead carp
the BROWSER console
also they are errors
you need to fix those
American black bearOP
yeah just fixed it
American black bearOP
thank you
Bighead carp
lol your imports are wrong
Answer
@Bighead carp lol your imports are wrong
American black bearOP
thats true and embarrasing
Bighead carp
anything referencing @radix needs to reference your local components
i hate how radix exists its so useless
just conflicts everywhere
American black bearOP
YES finally
it workd
thank you soo much and im sorry for wasting your time
Bighead carp
It's all good man, enjoy learning next
I wish you the best
@Bighead carp It's all good man, enjoy learning next
American black bearOP
thank you very much
@Bighead carp I wish you the best
American black bearOP
you too
Bighead carp
â¤ï¸