Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Formatting: Even if hideSelction is set to true, group header can still be selected #9952

Open
2 of 9 tasks
tecchan1107 opened this issue Oct 6, 2024 · 1 comment
Open
2 of 9 tasks
Labels
Needs: Triage 🔍 Awaiting categorization and initial review. type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Comments

@tecchan1107
Copy link
Contributor

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
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

No response

Describe the bug / error

Even if hideSelection is set to true, the group header can still be selected. Additionally, when this setting is applied, the group header shifts to the right, causing the layout to appear broken.

image

microsoftlists

Steps to reproduce

  1. Group by any column in any list

  2. Apply the following JSON to the view formatting

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

Expected behavior

If hideSelection is set to true, group header will not be selectable either.

@tecchan1107 tecchan1107 added the type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. label Oct 6, 2024
@Fedes365
Copy link
Contributor

Fedes365 commented Oct 7, 2024

@tecchan1107

I can confirm these bugs from my side. Regarding the header shifting to the right (bug confirmed too), I'm using a workaround: the first column should be the OOTB "Type" one, so that the shift to the right will be minimal.

@VesaJuvonen VesaJuvonen added the Needs: Triage 🔍 Awaiting categorization and initial review. label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Awaiting categorization and initial review. type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Projects
None yet
Development

No branches or pull requests

3 participants