CustomCardProps width no longer supported for Gallery View items?

Aikens, Chris 10 Reputation points
2024-09-30T14:52:55.67+00:00

We have a SharePoint site that prominently uses CustomCardProps to display additional details about list items on hover. The items are formatted as tiles using a Gallery View. In the last month or so the modals that pop up with CustomCardProps are now only as big as the tiles in the Gallery View that they are related to (as in the width and height properties of the tiles are being strictly enforced on the modals no matter what styling we have applied to the divs in the CustomCardProps). It's negatively impacting the User Experience of our site because people can no longer see all of the contents in the modal.

When we display the same items in a List View then the width and height properties that we set in CustomerCardProps are still respected without issue.

Did something change with Gallery Views that would cause this new issue?

BadRestrictedSizing

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,063 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xyza Xue_MSFT 25,731 Reputation points Microsoft Vendor
    2024-10-01T02:33:43.85+00:00

    Hi @Aikens, Chris ,

    Thank you for posting in this community.

    We can work together to narrow down and resolve the situation. So, Please kindly provide more information below to let us work further.

    1.Are other users with permissions facing the same problem? View through another computer or account.

    2.You're having problems in the library view, but everything is fine in the list view. Whether all SharePoint libraries have the same problem? You could create a new SharePoint library to check.

    3.Check if the same issue occurs with other SharePoint site collections.


    If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.