In classic DFFS I was able to link directly to the forms using the NewForm.aspx and DispForm.aspx pages. I have been using those links to pull up the forms for items in a side panel in a custom web part. I tried linking to those pages for a list using modern DFFS, but the forms are the default modern SP forms. I understand the reason for this, but I was wondering if there is any way to link directly to the DFFS forms. I know I can link to the form by adding
to the end of the URL for the list (specifying the item by its ID), but this has unexpected behavior when opening in a side panel. I end up with the toolbar of the list peeking over the panel for the form (so I have a panel with a panel inside of it, but it does not hide the toolbar of the list in the background).
In addition, when the DispForm.aspx is loaded directly, I can tie in to the cancel or save events and close the panel. This does not work with what I have found so far for the modern DFFS forms. I realize this is not necessarily a common case, but was just wondering if there was a way to open the form for an item directly without loading the list first.