SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1k forks source link

SharePoint Online - Custom List - JSON action editProps - Right Side Pane is now Too Wide #7359

Open Bit-Hug-Tub opened 2 years ago

Bit-Hug-Tub commented 2 years ago

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

Site designs & site scripts

Developer environment

Windows

What browser(s) / client(s) have you tested

Additional environment details

Describe the bug / error

I created a SharePoint Online Custom List around 10/1/2020. In the "Edit Ticket" column, I input the JSON code that implements the action editProps, which results in an orange pencil symbol appearing in that column. Upon clicking it, the item edit/details pane will open on the right-side, which used to consume about 30-40% of the whole screen.

Starting yesterday 9/28/2021, whenever anyone clicks the edit pencil JSON code symbol, the edit/details pane now takes up 95% of the whole screen, which is too wide for our users. It reduces the description column content width (multiple lines of text) which forces users to scroll down a lot.

Did something happen to the JSON action editProps source code that widens the edit pane? Please let me know if there is anything that can be done to revert it back from taking up 95% of the screen to just 30% like before.

JSON action editProps code: https://github.com/pnp/List-Formatting/blob/master/column-samples/generic-rowactions/editProps.json

I attached images that show the difference.

Edit symbol:

image

Old edit pane at a nice small width:

image

image

New edit pane at a very large width:

image

image

Thanks

Steps to reproduce

Based on the message and images above, click the edit pencil symbol to open the details pane.

Expected behavior

I expected the pane to remain at its smaller width, but now it's very wide.

ghost commented 2 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

bcameron1231 commented 2 years ago

Hi, unfortunately, this is currently how formatting works. Any customization to the form will result in the wide screen layout for the form.