microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
388 stars 341 forks source link

Search results web part - Column size cannot change when the horizontal scroll bar is shown #4018

Closed Suuzshine closed 1 month ago

Suuzshine commented 1 month ago

Version used 4.13.1

Describe the bug When the search results web part has a number of columns which will require the horizontal scrollbar, then the sizes of the columns cannot be changed by the user. The arrow to adjust the column width is displayed, but the column size remains the same. There was registred a bug for this earlier, but no conclusion was given in this item. (Search Results Web Part - Columns sizes cannot be changed when horizontal scroll is required #2236)

To Reproduce Detailed steps to reproduce the behavior:

  1. Configure the results web part to show enough columns, which will activate the horizontal scrollbar (all columns have set resizable at true)
  2. In the search results, click on the space between the column titles
  3. Try to resize the column
  4. Nothing changes, you see the mouse change in the drag and drown icon but you cannot change the size

Expected behavior The column width can be adjusted even if the horizontal scroll bar is required.

Screenshots

  1. image

  2. image

Desktop (please complete the following information):

Additional context Earlier created but about this problem, number #2236

wobba commented 1 month ago

This is not a bug as the columns are made as small as they can. https://developer.microsoft.com/en-us/fluentui#/controls/web/detailslist does not support to expand a column past the space it takes (from what I can tell). Which means the scoll is up to the smallest width which fit some data from all columns.