-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
S3Image component ignores preview="hidden" if path prop specified #218
Comments
@russelltaga I think that |
Ugh, my bad, but thank you so much! |
@russelltaga this issue has been fixed in the latest release. Please feel free to reopen the issue if neccessary. |
@powerful23 Thank you much! |
@powerful23 Sorry to bother you about this, but one side effect with the hidden image, is that I'm not seeing a way to know when the file has been uploaded. The |
@russelltaga we will look into that. |
Hello @russelltaga , can you please share a sample about using the component? I am getting weird display when using it. This is my code: |
@hernangarcia Over time some of the requirements we had at the time shifted and I ended up implementing a custom UI and using the Storage APIs directly. It's been many months and a little tied up right now, but will try to whip up an example next week. |
@hernangarcia Here's a sample component. I'm not seeing anything funky with a bare bones component. With preview
With preview suppressed
|
@russelltaga are you looking at the 2.1.x version of aws-amplify-react? I just upgraded today and see what @hernangarcia is seeing. |
@ceich My bad, I'm definitely on an older version (completely forgot to upgrade to the latest for the test). Will try to verify soon. |
FYI, we have started an RFC discussion for a proposed Amplify UI Component refactor to increase customizability and flexibility for our components. Please feel free to add any additional comments to the following issue: |
Looking at responses from @russelltaga I do see that he was able to resolve this other ways and there are other FRs open for similar things, as referenced above. I am going to resolve this feature request. Please feel free to make comments on the RFC if there are further callouts. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
When using the
S3Image
component, if you include thepath
prop like so, the component seems to ignore suppressing the preview viapreview="hidden"
.Here are screenshots showing how this renders:
and in the JS console:
If you select an image with the picker, it'll render it vs. suppressing the preview as well.
The text was updated successfully, but these errors were encountered: