Avoid opening sidebar when adding a new file

I need some help regarding app development and javascript for integrating with the file list.

My app adds a new menu entry via OC.Plugins.register('OCA.Files.NewFileMenu', ...). Now, with Nextcloud 14, the behavior changed so that whenever you create a new file or folder the sidebar will open and focus the first available field in the first available tab.

Can I disable this behavior? Is this intended? My app provides it’s own edit screen for the file contents, so no need for the sidebar to open and “steal“ focus. :slight_smile:

– Thomas