-
Notifications
You must be signed in to change notification settings - Fork 375
fix(Pagination): remove spin buttons #9219
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
Conversation
|
Preview: https://patternfly-react-pr-9219.surge.sh A11y report: https://patternfly-react-pr-9219-a11y.surge.sh |
mcarrano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks @adamviktora !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes the base styling, but it's worth noting that if this does not use <TextInput>, all changes to the core form control component will need to be maintained here separately.
For example, another thing that isn't working properly in this PR is the disabled styling, because the visual presentation for a disabled form control changed with v5 (the styles.formControl div also needs the class pf-m-disabled). You can see in v4 that the no items and one page example example inputs are disabled and they are not disabled in this PR build.
If we can't use <TextInput> here for some reason, it would be good to review this a little more to make sure there is full parity with the form control component.
mcoker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L🎃TM!
| <div className={styles.paginationNavPageSelect}> | ||
| <input | ||
| className={css(styles.formControl)} | ||
| <TextInput |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
* fix(Pagination): remove spin buttons * fix(Pagination): update snapshots and integration tests * use TextInput instead of input, change page type from deprecated type --------- Co-authored-by: Titani <tlabaj@redaht.com>
What: Closes #9218, #9187