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.

openFileSelector() not working in 8.0.6

See original GitHub issue

Version Upgrading from 8.0.3 to ^8.0.6

Steps to reproduce

<ngx-file-drop dropZoneLabel="Drop files here" (onFileDrop)="dropped($event)" 
    (onFileOver)="fileOver($event)" (onFileLeave)="fileLeave($event)">
        <ng-template ngx-file-drop-content-tmp let-openFileSelector="openFileSelector">
          Optional custom content that replaces the the entire default content.
          <button type="button" (click)="openFileSelector()">Browse Files</button>
        </ng-template>
</ngx-file-drop>

Alternate between v8.0.3 and 8.0.6.

Expected Behavior Button should open file picker

Actual Behavior In 8.0.6, the file picker does not display

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
georgipeltekovcommented, Aug 8, 2019

sorry about that, it was regression. It is fixed in 8.0.7

0reactions
srivastavaanurag79commented, Oct 28, 2022

openFileSelector() not working on macOS v12.3 "ngx-file-drop": "^14.0.1",

  "@angular/compiler": "14.1.3",
    "@angular/core": "14.1.3",
    "@angular/forms": "14.1.3",
    "@angular/localize": "^14.1.3",
    "@angular/platform-browser": "14.1.3",
    "@angular/platform-browser-dynamic": "14.1.3",
    "@angular/router": "14.1.3",
Read more comments on GitHub >

github_iconTop Results From Across the Web

ngx-file-drop - npm
An Angular 8 module for simple desktop file and folder drag and drop. This library does not need rxjs-compat. For Angular 7, 6,...
Read more >
Ngx-file-drop NPM - npm.io
An Angular module for simple desktop file and folder drag and drop. This library does not need rxjs-compat. For previous Angular support please...
Read more >
ngx-file-drop | Yarn - Package Manager
An Angular module for simple desktop file and folder drag and drop. This library does not need rxjs-compat. For previous Angular support please...
Read more >
ngx-file-drop - `openFileSelector()` does not seem to produce ...
The file() method, there, does NOT fire immediately. In my case, this was causing problems because, further down the processing chain, ...
Read more >
Source-acceptance-test: build failed - Airbytehq/Airbyte
Issue Title Created Date Comment Count Updated Date what is the code of Persian language? 4 2021‑03‑29 2022‑07‑24 openFileSelector() not working in 8.0.6 4 2019‑08‑08...
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