themesberg / themesberg/flowbite

[datatables] current page is not visually active

Open
#1,010 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
9.4k
Forks
862
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Current page not visually active in the datatable pagination items.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://flowbite.com/docs/plugins/datatables/#table-pagination
  2. The current page (1) is to visually active
  3. Navigate to the next page in the datatable
  4. The next page (2) is also not visually active

Expected behavior

The current page to be visually active.

Like in the pagination component example itself:

image

Contributor guide

Open the contributing guide

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

Open the linked DataTables table-pagination example and inspect its pagination markup and state handling. Compare it with the standalone pagination component example, then verify that page 1 and a later page receive the expected visual active treatment.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.