Having a wide element in paginatorleft shifts the paginator from the center

UI Components for Angular
Post Reply
Sasha
Posts: 49
Joined: 08 Mar 2017, 23:46

27 Dec 2018, 03:19

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.

yigitfindikli
Posts: 449
Joined: 08 Aug 2018, 14:09

28 Dec 2018, 14:06

Hi,
Can you provide a stackblitz sample ?

https://stackblitz.com/github/primeface ... e-template


Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests