themesberg / themesberg/flowbite
[datatables] current page is not visually active
Open
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:
- Go to https://flowbite.com/docs/plugins/datatables/#table-pagination
- The current page (
1) is to visually active - Navigate to the next page in the datatable
- 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:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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