-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
targetWidthProportion on DetailsList is not properly working #18425
Comments
Also, documentation has a typo in line 372, it should be
|
@tomsato-ms - thanks for filing this issue and providing the details for the repro. @miroslavstastny - Would you be able to confirm if this is a regression, or if this behavior is an issue? Also, could we confirm the documentations is correct as pointed out by @tomsato-ms. Thanks |
@tomsato-ms @gouttierre @miroslavstastny, Looking at the PR that introduced this change I can see that Additionally, |
@tomsato-ms Does the property proposed by @BerserkerDotNet mitigate your issue ? |
@ling1726 |
@tomsato-ms, change the layoutMode from justified to fixedColumns. flexGrow does not work with justified layout. |
I see, it does work with the |
@tomsato-ms glad I could help. @ling1726 I still thin k there are things to fix as part of this issue:
|
Environment Information
Please provide a reproduction of the bug in a codepen:
https://codepen.io/tomothehiro/pen/mdWXKev
Actual behavior:
targetWidthProportion is not taken into consideration when generating the width.
Expected behavior:
targetWidthProportion should distribute the width of the column in proportion to the number given as described here
Please refer to the codepen above, but when same minWidth and targetWidthProportion are given to all 4 columns, it does not distribute the column width equally. Instead, it seems like width of 70 is given to the last 3 columns, and all the remaining width is given to the first column
I don't think minWidth should be a required field, but instead have users be able to provide either the minWidth or the targetWidthProportion to determine the column width.
Priorities and help requested:
Are you willing to submit a PR to fix? (No)
Requested priority: (High)
Products/sites affected: (Azure Portal)
The text was updated successfully, but these errors were encountered: