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

CirclePager: Navigation Issue when Navigating Tabs #8703

Open
infor-mahesh opened this issue May 9, 2024 · 2 comments
Open

CirclePager: Navigation Issue when Navigating Tabs #8703

infor-mahesh opened this issue May 9, 2024 · 2 comments
Labels
type: bug 🐛 [2] Velocity rating (Fibonacci)

Comments

@infor-mahesh
Copy link

Describe the bug
Description: On our tenant, we're encountering an issue where the circular navigation feature transitions into arrow-based pagination when navigating through tabs. This behavior occurs specifically when switching between tabs and reverts to normal circular navigation upon refreshing the page. We've confirmed this issue by inspecting the NG Enterprise code, where the same problem persists.

To Reproduce

Steps to reproduce the behavior:
Access the Widget Tab: Navigate to the tab or page where the circular pagination widget is deployed.
Observe Initial Behavior: Note the initial behavior of the circular pagination widget. Ensure that it functions correctly, displaying circular navigation.
Switch Tabs and Return: Navigate to another tab within the Mingle tenant interface. Spend some time there, then return to the tab with the circular pagination widget.
Observe Bug Behavior: Check the circular navigation has transformed into arrow-based pagination which should not be the case.

Expected behavior
the circular behavior should not be changed

Screenshots
If applicable, add screenshots to help explain your problem.
behaviour of the code taken from ng enterprise circular pagination
image

widget which we are having issue:
before:
image

after:
image

@tmcconechy tmcconechy changed the title Subject: Navigation Issue with Circular Pager Component, Converting to Pagination When Navigating Tabs CirclePager: Navigation Issue when Navigating Tabs May 9, 2024
@tmcconechy
Copy link
Member

tmcconechy commented May 9, 2024

I think maybe if you debug this line https://github.com/infor-design/enterprise/blob/main/src/components/circlepager/circlepager.js#L221 you can see why its doing it?

On our end I have seen it change to that pager, i think the logic is it will try to change to that pager if there is too many dots. So maybe debugging that logic will help you figure this out?

Is it possible to make a reduced test case and add it to this issue?

IDEA: We make a setting on this behavior once we figure out when it does it

@tmcconechy tmcconechy added type: bug 🐛 [2] Velocity rating (Fibonacci) status: clarification Issue needs clarification labels May 9, 2024
@infor-mahesh
Copy link
Author

infor-mahesh commented May 10, 2024

Hi @tmcconechy , our testing team validated even for 2 records/ circles the issue is replicating. thankyou

@AAlviar AAlviar removed the status: clarification Issue needs clarification label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 [2] Velocity rating (Fibonacci)
Projects
Status: Groomed
Development

No branches or pull requests

3 participants