I have an issue where, if I take the Remix template project and start modifying it, Polaris components that aren't used in the template don't show up. I'm trying to use the DropZone and Modal components, but the DropZone is hidden, and the Modal just doesn't show at all. For the Modal I get the following warning in browser:
"The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally."
The DropZone is in the DOM, but is hidden. Unhiding it doesn't make it work - I can't click a button to open a file, or drag/drop one onto the zone. I can give code samples if needed, but it's really just taken from the template with the components I wanted to use added.