DataTables / DataTables/SearchPanes

horizontal scrollbar in searchpanes when the option cascadePanes: true is used

Open
#36 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
23
Forks
14
PR merge metrics
No merged PRs in 30d

Description

There seems to be still a bug when I use the option cascadePanes: true.

Initially there are no horizontal scrollbars inside the SearchPanes.
When I click on the left SearchPane the options not necessary will be removed from the other SearchPanes. If I deselect the option in the first SearchPane again, all options are available again but with scrollbars where there are longer and sometimes shorter texts options.

Here is a test case:
https://live.datatables.net/sicalopa/1/edit

Image

I noticed that there is also a scrollbar at the "age" SearchPane, even if the options are only two numbers and are very short.

This seems to be a follow-up issue from here: https://github.com/DataTables/SearchPanes/issues/35

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the live test case at https://live.datatables.net/sicalopa/1/edit and reproduce the scrollbar issue by toggling options with cascadePanes: true. Read the follow-up issue #35 for related context. Done means restoring options after deselection does not leave horizontal scrollbars in any SearchPane, including the age pane.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.