8000 fix(table): reduce max-width breakpoints 1px by evwilkin · Pull Request #7171 · patternfly/patternfly · GitHub
[go: up one dir, main page]

Skip to content

fix(table): reduce max-width breakpoints 1px#7171

Merged
mcoker merged 2 commits intopatternfly:mainfrom
evwilkin:fix/7139-table-breakpoints
Nov 6, 2024
Merged

fix(table): reduce max-width breakpoints 1px#7171
mcoker merged 2 commits intopatternfly:mainfrom
evwilkin:fix/7139-table-breakpoints

Conversation

@evwilkin
Copy link
Member

Closes #7139

This PR fixes the issue of max-width breakpoints (currently only used in Table component) overlapping the more standard min-width breakpoints by 1px at the very top of the width by creating a new function to subtract 1px from the max-width.

To test use Hidden/visible breakpoint modifiers example and size screen width from 991 => 992 => 993px.

Current behavior - columns hide/show correctly at 992px layout does not update until 993px
Screen.Recording.2024-10-23.at.11.18.04.AM.mov
Fixed behavior - columns continue to hide/show correctly but layout also updates at 992px (no changes at 993px)
Screen.Recording.2024-10-23.at.11.19.06.AM.mov

@patternfly-build
Copy link
Collaborator
patternfly-build commented Oct 23, 2024

@evwilkin evwilkin requested review from a team, mattnolting, mcoker and srambach and removed request for a team and srambach October 23, 2024 15:51
Copy link
Collaborator
@mattnolting mattnolting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LPTM ⭐

Copy link
Member
@srambach srambach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

Copy link
Contributor
@mcoker mcoker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤘🎅🎸

@mcoker mcoker merged commit 1889807 into patternfly:main Nov 6, 2024
@patternfly-build
Copy link
Collaborator

🎉 This PR is included in version 6.1.0-prerelease.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug - [Table] - incorrect behavior with visibility breakpoints

5 participants

0