Hello,
I am using pTemplate "paginatorleft" and "paginatorright" on my p-table.
When the item inside "paginatorleft" is sufficiently long, the icons and page numbers of the paginator, which was supposed to be in the center, are now shifted to the right.
When the thing inside "paginatorleft" is a p-dropdown that varies in width depending on the width of the selected item in the dropdown, this means that the position of the paginator is now also shifting whenever I select an item of a different width.
The reverse applies when "paginatorright" contains a long and wide element - the paginator is offset towards the left, instead of being centered in the table.
I believe this behavior is less than ideal, and would conjecture that it may be a bug.
I am using PrimeNG 6.1.5. Thank you.
Having a wide element in paginatorleft shifts the paginator from the center
-
- Posts: 449
- Joined: 08 Aug 2018, 14:09
Here is a minimum example:
https://stackblitz.com/edit/angular-v1fh7s
https://angular-v1fh7s.stackblitz.io/
https://stackblitz.com/edit/angular-v1fh7s
https://angular-v1fh7s.stackblitz.io/
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests