-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: dropzone behavior #980
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
fa123c1
remove dropzone pacakge
juliusmarminge 4534736
rm
juliusmarminge f2cc878
fix import in svelte pacakge
juliusmarminge 306512f
fix react
juliusmarminge 0306bc9
Merge branch 'main' into rm-dropzone-package
juliusmarminge 97ffa01
fix lock
juliusmarminge ddda408
fix some peer dep issues
juliusmarminge ab8b377
Revert "fix some peer dep issues"
juliusmarminge 2bddc54
fix react dropzone double click
juliusmarminge caafb87
add bundled tsup config to gitignore
juliusmarminge f0a60bb
fix vue
juliusmarminge 1d23a77
make solid example runnable
juliusmarminge 09e1161
Merge branch 'main' into rm-dropzone-package
juliusmarminge 9c94f23
Merge branch 'rm-dropzone-package' into fix-dropzone-behavior
juliusmarminge 3622c8b
fix solid
juliusmarminge f66ee53
rm comment
juliusmarminge ff29fc8
vue abort
juliusmarminge 67382e4
rm unused
juliusmarminge 6043557
rm log
juliusmarminge adf5d41
rm logs
juliusmarminge 22c7322
start fixing svelte
juliusmarminge 0fa93e0
fix linter
juliusmarminge 204262b
button works now :)
juliusmarminge c058cf3
unification
juliusmarminge dbc2ef3
Merge branch 'main' into fix-dropzone-behavior
juliusmarminge dff4ec4
Merge branch 'main' into fix-dropzone-behavior
juliusmarminge f91e6ac
unifiy even more
juliusmarminge af3ebbe
fmt
juliusmarminge 5271203
unify style
juliusmarminge bb77d70
fix svelte dropzone
juliusmarminge 03ddd2b
fmt
juliusmarminge 55ac13a
rev
juliusmarminge b3fc423
Update uploadthing.ts
juliusmarminge cbe4a94
Update uploadthing.ts
juliusmarminge fe30932
Merge branch 'main' into fix-dropzone-behavior
juliusmarminge 0d385e3
cs
juliusmarminge 3db2694
Merge branch 'main' into fix-dropzone-behavior
juliusmarminge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@uploadthing/svelte": patch | ||
"@uploadthing/react": patch | ||
"@uploadthing/solid": patch | ||
"@uploadthing/vue": patch | ||
--- | ||
|
||
fix: file picker would open twice when clicking the input element on the dropzone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...les/minimal-solidstart/tailwind.config.js → ...les/minimal-solidstart/tailwind.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can this go over 100 lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha idk. Math is hard. Probably a bug in here somewhere but felt out of scope so this was a quick fix to get the UI to behave. Will look at the progress calculation later
https://github.com/pingdotgg/uploadthing/blob/main/packages/react/src/useUploadThing.ts#L84-L97
https://github.com/pingdotgg/uploadthing/blob/main/packages/uploadthing/src/internal/upload.browser.ts#L157-L168