On iPadOS 15 the attribute isPresented is not updated, when the user swipes down the file open dialog.
From there on the dialog window does not show anymore until app restart, even if the showFileImporter variable is set to false and true again.
.fileImporter(isPresented: Binding( get: {showFileImporter}, set: {active in showFileImporter = active; logger.debug("File import active=\(active)")}),
allowedContentTypes: fileImportTypes,
allowsMultipleSelection: fileImportMultipleFiles, onCompletion: { args in afterFileImportSelection(args) })
I assume this is a bug.
Is there ev. a Notification, which is triggered on swipe-down?