Skip to content

🐛 Bug Report: Pagination URL Flickering Between Pages on Button Click  #572

@Harsh8089

Description

@Harsh8089

📜 Description

  1. Go to explore jobs and select any one filter.
  2. Click on next button.
  3. You will see page flickering from 1 to 2.. 2 to 1

👟 Reproduction steps

Method - 1
I was thinking of hiding prev / next button using if else based on currentPage and totalPages.

Method - 2
Adding css to make it look like a disable button and not invoking setQueryParams().

👍 Expected behavior

It shouldn't flicker

👎 Actual Behavior with Screenshots

100xJobs.-.Google.Chrome.2024-11-04.20-06-17.mp4

OS name

Windows

browser name

Chrome

npm version

No response

node version

No response

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions