Skip to content

fix(dashoards): Fix table widget column widths snapping after user resize#112960

Merged
edwardgou-sentry merged 1 commit intomasterfrom
edwardgou/dain-1202-dashboards-column-width-for-table-widgets-not-snapping-by
Apr 15, 2026
Merged

fix(dashoards): Fix table widget column widths snapping after user resize#112960
edwardgou-sentry merged 1 commit intomasterfrom
edwardgou/dain-1202-dashboards-column-width-for-table-widgets-not-snapping-by

Conversation

@edwardgou-sentry
Copy link
Copy Markdown
Contributor

Fixes an issue where table column widths "snap" to fit the container the first time a user resizes a column. This was due to the fit prop. Initially widgets do not have a widget?.tableWidths until manually resized by the user, which causes the fit prop to change. Use undefined instead of max-content since max-content introduces horizontal scroll by default

@edwardgou-sentry edwardgou-sentry requested a review from a team as a code owner April 14, 2026 19:13
@linear-code
Copy link
Copy Markdown

linear-code Bot commented Apr 14, 2026

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 14, 2026
@sentry
Copy link
Copy Markdown
Contributor

sentry Bot commented Apr 14, 2026

Sentry Snapshot Testing

Name Added Removed Modified Renamed Unchanged Status
sentry-frontend
sentry-frontend
0 0 0 0 204 ✅ Unchanged

@edwardgou-sentry edwardgou-sentry merged commit d97797e into master Apr 15, 2026
66 checks passed
@edwardgou-sentry edwardgou-sentry deleted the edwardgou/dain-1202-dashboards-column-width-for-table-widgets-not-snapping-by branch April 15, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants