Is UploadThing's UploadButton having refresh issues in 7.x?

I was going through Theo's 0-production video recently, but since it is a year old, I was trying to modernize it a bit with a more current package version. I created an Issue on pingdotgg/uploadthing regarding UploadButton refreshing my screen while not letting me select an item to upload. Wasnt sure what is going on about it. I tried on Chrome and Safari. url: https://github.com/pingdotgg/uploadthing/issues/1190 I am trying to understand what im doing wrong. It seems like it is in part a Chrome Issue, but the refresh seems odd too. Trying to think of what is different between 6 and 7 that might be causing the issue. When testing on Safari, it will open the file picker but refresh the page. Thoughts?
Solution:
Isolated the button to an MVP and it works fine. Looked like it was related to Clerk. Looked at the underlying code, and noticed auto-complete didnt have it as <SignedIn> but instead <SignInButton> so it was attempting to conduct a sign in that wrapped the UploadButton. This is working, so im going to close this ticket...
Jump to solution
1 Reply
Solution
__Fallenreaper
__Fallenreaper4mo ago
Isolated the button to an MVP and it works fine. Looked like it was related to Clerk. Looked at the underlying code, and noticed auto-complete didnt have it as <SignedIn> but instead <SignInButton> so it was attempting to conduct a sign in that wrapped the UploadButton. This is working, so im going to close this ticket

Did you find this page helpful?