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
FileUploadAdvanced: Ability to resize responsively #7892
Comments
@paripireddymanikrishna do you mean you want it to be responsive to the same size of fields? or want to resize it as a user or something else? the issue is a bit unclear. Also i changed it to file upload which is the name of the component. Also can you include sample markup used in the example you created? |
@paripireddymanikrishna tested this on https://main-enterprise.demo.design.infor.com/components/fileupload-advanced/example-index.html and it seems to be now the size of the page. Does that work for you? |
@tmcconechy when we are using this component in widgets then size is different with another components like input field and it is taking more time to upload file |
@paripireddymanikrishna not sure whats special about your case when it works on https://main-enterprise.demo.design.infor.com/components/fileupload-advanced/example-index.html Can you try to do it the same way and see if it fixes it? Or provide a reduced test case / stackblitz (Template: https://stackblitz.com/edit/ids-quick-start-1651?file=src%2Fapp%2Fapp.component.ts) As for it being slow. We dont have control over how you upload it but do note you probably want to use the send method like this example https://github.com/infor-design/enterprise/blob/main/app/views/components/fileupload-advanced/example-send.html our default |
@tmcconechy I tried same as example given in IDS site and not added any custom CSS also. I tried in different versions as well but issue is same and I will send you credentials and details if you want |
We usually insist on a reduced test case for looking at issues https://www.browserstack.com/guide/test-case-reduction-and-techniques So could you make a small example that just shows the issue. You can either put the relevent code in a zip. NG: https://stackblitz.com/edit/ids-quick-start-1711?file=src%2Fapp%2Fapp.component.ts Try perhaps to focus on what your passing in settings, any custom css or special placement or any special angular tags or something? |
here is runnable example for above issue and still issue is reproducing here that is while uploading files using this component is taking more time. https://stackblitz.com/edit/ids-quick-start-1711-qezkdj?file=src%2Fapp%2Fapp.component.html |
@paripireddymanikrishna I cant find the code in this example but there is a thing about the component... By default if you dont implement the send function it will slow the upload down and just do a fake upload for demonstration purposes. All you need to do is implement this function and do your own logic and it will bypass this logic. I dont get what you mean about the resize part of the issue but from what i see doing that should solve the issue |
@paripireddymanikrishna does adding the method fix the slowness problem? |
Hi @tmcconechy , No it is still slow. |
when we select any large size file it is taking time and in above just mentioned sample component and it same in widget as well |
@paripireddymanikrishna where in that example did you implement the send function https://github.com/infor-design/enterprise/blob/main/app/views/components/fileupload-advanced/example-send.html#L15 Once you implement that you bypass the default "slow it down for visual" behavior and actually implement your logic to send it to the backend. |
Hi @tmcconechy the soho-fileupload-advanced component itself taking more time while selecting file for reference I am attaching the video link and this is stackblitz link ] |
Will fix the responsive behaviour if we have time. But for the slow issue i think if you implement the send function it will work. |
@tmcconechy any idea in which fix version this available so that I will update in Jira ticket accordingly |
@paripireddymanikrishna i can try and add this to release 4.96.0 which would be early June. |
Describe the bug
unable to resize the attachment component for both multi attachment and attachment component and dropdown component also
To Reproduce
Possible Specs (TJM)
The text was updated successfully, but these errors were encountered: