Polaris-react: DropZone - error status not working correctly on Safari

Created on 9 Nov 2018  路  4Comments  路  Source: Shopify/polaris-react

Issue summary

On Safari, the error flag for invalid filetypes is not getting raised correctly. Our dropzone is configured to only accept XML files, and when hovering with a PDF it should be showing an invalid file state.

Expected behavior

chrome

Actual behavior

safari

Specifications

  • Are you using the React components? (Y/N): y
  • Polaris version number: 2.12.1
  • Browser: Safari 12.0.1
  • Device: MacBook Pro
  • Operating System: macOS
馃悰Bug

All 4 comments

馃憢 Thanks for opening your first issue. A contributor should give feedback soon. If you haven鈥檛 already, please check out the contributing guidelines. You can also join #polaris on the Shopify Partners Slack.

This is a known limitation with browsers other than Chrome, unfortunately. The validation on hover is seen more as an enhancement since it will still validate on drop.

Going to go ahead and close this since there is nothing we can do on this one.

@dfmcphee sorry meant to close this off last week. Totally forgot.

Was this page helpful?
0 / 5 - 0 ratings