sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Microsoft Lists: unknown full screen error message caused by "hideSelection" JSON property applied to a view

Open Fedes365 opened this issue 1 year ago • 5 comments

Target SharePoint environment

SharePoint Online

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

Declarative list formatting

Developer environment

None

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

  • [ ] 💥 Internet Explorer
  • [X] 💥 Microsoft Edge
  • [X] 💥 Google Chrome
  • [ ] 💥 FireFox
  • [ ] 💥 Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Additional environment details

  • Microsoft Edge Version 126.0.2592.102 (Official build) (64-bit)
  • Google Chrome Version 126.0.6478.127 (Official build) (64-bit)

Describe the bug / error

"hideSelection": true property applied to a Microsoft Lists view through custom JSON formatting causes an unknown error. After applying this custom property, when a user clicks on any column header, an error message appears on full screen with a button to refresh (Retry).

immagine

However, after performing a refresh, this error is shown again without any information about.

This error doesn't occur if hideSelection property is removed from a view JSON formatting or set to false.

Steps to reproduce

After performing some checks and testing together with @tecchan1107, here are the steps we identified to reproduce this error:

  1. Create a new list
  2. Click on "All items" tab view and click on Format current view
  3. Click on Advanced mode and paste the following basic JSON code:

    { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/row-formatting.schema.json", "hideSelection": true }

  4. Save and close the advacend formatting pane
  5. Click on any column header to get the full screen error message:

    immagine

Expected behavior

It should be possible to click on any column header without triggering this error message, even if "hideSelection": true is applied to a view through JSON custom formatting.

Additional details: this error doesn't show up if a list is used in "Edit in grid view" mode.

Fedes365 avatar Jul 15 '24 11:07 Fedes365

Thanks for creating the issue @Fedes365 !

For reference, I also post videos I have taken.

  • If "hideSelection": true is set, an error message is displayed when clicking on a column header.

    screenshot

  • If "hideSelection": false is set, clicking on a column header is not a problem

    screenshot_false

tecchan1107 avatar Jul 15 '24 21:07 tecchan1107

@Fedes365 We are actively working on this bug and will update on the ETA soon.

tpodugu-ms avatar Jul 17 '24 14:07 tpodugu-ms

@tpodugu-ms
Thanks for your update about this bug!

Fedes365 avatar Jul 17 '24 14:07 Fedes365

@Fedes365 Issue has been fixed and fix will be available in production in a week.

tpodugu-ms avatar Jul 30 '24 06:07 tpodugu-ms

@Fedes365 : I hope this issue has been fixed for you.

jgupta-msft avatar Oct 09 '24 15:10 jgupta-msft

Hello @Fedes365, Thank You for your patience. Is the issue resolved now?

Amey-MSFT avatar Apr 28 '25 08:04 Amey-MSFT

Hello @Amey-MSFT

I have followed the steps to test and reproduce the issue and I confirm that this bug is fixed.

Thanks for your support!

Fedes365 avatar Apr 28 '25 09:04 Fedes365