question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Preview Config Option Causes Data Not To Load

See original GitHub issue

Hi -

Just started toying around with react-papaparse, and was trying to pass in the preview options into the config for papa parse like below:

<CSVReader
              onDrop={this.handleOnDrop}
              onError={this.handleOnError}
              addRemoveButton
              onRemoveFile={this.handleOnRemoveFile}
              config={{
                header: this.state.hasHeaderRow,
                dynamicTyping: true,
                preview: 1000
              }}
              style={{minHeight: "200px"}}
            >

Unfortunately when preview is passed my handleOnDrop function is never called. When I remove that option everything works as expected. Am I missing something with this particular functionality?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
timtuttcommented, Apr 30, 2020

Just updated locally, tested and verified! Thanks much.

1reaction
Bunlongcommented, Apr 30, 2020

@timtutt @Eptis react-papaparse version 3.1.2 has been released with fixing Preview Config Option Causes Data Not To Load. Please kindly check. Could we close the issue? Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the 'Preview Could Not Be Loaded' Error - Elementor
Go to your WP Admin > Settings > Permalinks section, select the Plain option, click Save Changes, and see if this helped. When...
Read more >
Why is Preview not Working on Your Mac and How to Fix It?
Steps on How to Fix Preview Not Working · 1. Open Finder. Finder · 2. Click Go. From here, press and hold the...
Read more >
Preview pane in Windows Explorer causes error. Need to ...
I click on the "upload" option on the site and explorer opens. As soon as I choose a Word document to upload, I...
Read more >
Preview Pane Not Working in Windows 10? 8 Ways to Fix It
Preview Pane Not Working in Windows 10? 8 Ways to Fix It · 1. Ensure the Preview Pane Isn't Disabled · 2. Rule...
Read more >
Types Of File Preview Errors And How To Handle Them
First, verify that your file hasn't been corrupted. To do this, try to open it with some other application on your desktop. If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found