Skip to content
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

Horizontal scroll seen when paginationSize increased with more data and layout is fitcolumns #4664

Open
shyam-shinde-tfs opened this issue Jan 6, 2025 · 0 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@shyam-shinde-tfs
Copy link

Describe the bug
In tabulator table using layout as "fitColumns" and pagination configurations like paginationSize:5, paginationSizeSelector:[5, 10, 20] with local or remote pagination and other configs. Additional setting height on table like 211px which correctly fits 5 rows on initial load with page size as 5.
Observed that if changing page size from 5 to 10 shows horizontal scroll bar(unexpected) along with vertical scroll bar(expected).
If there is a resize or some other action causing re-render then horizontal scroll is removed.
Issue is when only page size is increased then horizontal scroll displayed unless user does any other action to suddenly removes horizontal scroll bar.

Tabulator Info
version - 6.3.0

Working Example
https://jsfiddle.net/4r018zdt/3/

To Reproduce
A step by step guide to recreate the issue in your JS Fiddle or Codepen:

  1. Go to page size option in footer of table and change option from 5 to 10 or 15
  2. See horizontal scrollbar which is the issue
  3. Drag the window to resize tabulator
  4. See horizontal scrollbar gets removed

Expected behavior
Changing paginationSize that adds more data in existing height should not show horizontal scroll bar.

Screenshots
image

Desktop (please complete the following information):

  • OS: window 11
  • Browser chrome
  • Version 131.0.6778.205 (Official Build) (64-bit)

Smartphone (please complete the following information):
NA

Additional context
NA

@shyam-shinde-tfs shyam-shinde-tfs added the Possible Bug A possible bug that needs investigation label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant