Closed lara-g07 closed 2 months ago
We're also experiencing this issue - North America.
I had this issue as well and found going to add remove fields from view and uncheck title it then displayed as expected.
I had this issue as well and found going to add remove fields from view and uncheck title it then displayed as expected.
Thank you! I will try this also. Can I just confirm - is your "title" column empty? ie. do you have no information in the title column, and then the question in the "question" column? Thank you :)
Hi @lara-g07 !
I have tried this in my environment and have confirmed the same phenomenon.
This was probably caused by some change in the Microsoft List specification.
And a similar problem was reported in the sp-dev-docs repository. https://github.com/SharePoint/sp-dev-docs/issues/9853
I tried the method described in the issue above of adding ”min-width“: ‘max-content’
and the layout is now correct.
The modified JSON is as follows.
When you have time, I would like you to try applying the above code and see if it solves the problem🙇♂️
Thanks tecchan1107! Can confirm this worked on my end with an adjustment to "min-width": "500px" since I wanted bars longer than the shortest question.
lara-g07- regarding your question with the title, yes title was not used in my solution. Regardless, I would recommend tecchan1107 solution, I actually just checked mine in another browser and it displayed crunched up. Thanks for posting this question though since I had also been trying to solution this since the last update rolled out.
Hello @tecchan1107
I can't thank you enough, confirming that I tried your suggestion of adding ”min-width“: ‘max-content’ and yes, this has solved the problem! Thanks so very much! It was frustrating me so much trying to work out what the issue was. Thank you so much for your help :)
FAQ Accordion
Hi, hoping you can help. I am using this sample: https://github.com/pnp/List-Formatting/tree/master/view-samples/faq-accordion
I have used the FAQ Accordion JSON code and although it displays correctly on my SharePoint site, when I view in Microsoft Lists the 'question box' is appearing condensed and narrow (taking up multiple lines), whereas on my SharePoint it spans out over the width of the page. Does anyone know why this is happening? The 'answer box' is displaying correctly, both in SharePoint and Microsoft lists. I am at a loss as to how to solve this, appreciate any advice. Screenshot attached, thank you.