Git Product home page Git Product logo

Comments (4)

AndrzejSala avatar AndrzejSala commented on June 17, 2024

@killiansc
Can you share props which you pass to the component?
This problem occurs at start or after some action?

from filestack-react.

ksntcrq avatar ksntcrq commented on June 17, 2024

@AndrzejSala this problem happens when the component has to render, not after any action.

The code is the following:

            <ReactFilestack
                apikey={this.props.apiKey}
                customRender={({ onPick }) => (
                    <button
                        className={classNames('btn-stu btn-primary-stu', this.props.className)}
                        data-test-selector="filestack-button"
                        onClick={(e) => {
                            this.props.onClick();
                            onPick(e);
                        }}
                    >
                        {Lang.get('upload_from_cloud')}
                    </button>
                )}
                clientOptions={{
                    sessionCache: true,
                }}
                actionOptions={{
                    fromSources: [
                        'googledrive',
                        'dropbox',
                        'onedrive',
                    ],
                    accept: [
                        'application/pdf',
                        'application/msword',
                        'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
                    ],
                    maxFiles: 100,
                    onFileUploadStarted: this.props.onUploadFileStarted,
                    onFileSelected: this.handleFileSelected,
                    customText: { ... },
                }}
                onSuccess={this.handleDocumentsUploadedFromCloud}
            />

from filestack-react.

ksntcrq avatar ksntcrq commented on June 17, 2024

@AndrzejSala any news about this?

I don't have the issue described above anymore - maybe because of a React version bump -, but I do have a new problem on IE11. When opening the Filestack modal, the only thing I can get is "Something went wrong" with a "Retry" button. Do you know what's happening?

from filestack-react.

jakubpeksa avatar jakubpeksa commented on June 17, 2024

Is this still happening in 4.0 version? Isn't that filestack-js-core library?

from filestack-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.