title: Empty Directory Selection in Electron
body: <p>I am using </p>
  
  <p><code>&lt;input type="file" webkitdirectory /&gt;</code></p>
  
  <p>for directory selection in electron ( A sample App. No React/Angular inside. Simple index.html ).</p>
  
  <p>Using onChange I am able to get the directory which is selected.</p>
  
  <p>But, the onChange function does not get called when an empty directory is selected. I need this functionality. </p>
  
  <p>scenario being the user selects a folder to download an report or something.</p>
  
  <p>I found some alternates ; but webkitdirectory seems the easiest. Wonder why it does not work.</p>
  
  <p>Update:
  Okay so I checked the files list in the event and I am not getting folder path. But if files at present then it shows files path; But still not getting selected folder path</p>
  
  <p>Regards,</p>