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

Formik Documentation two active links highlighted at once #3854

Open
Rajan03 opened this issue Aug 1, 2023 · 1 comment
Open

Formik Documentation two active links highlighted at once #3854

Rajan03 opened this issue Aug 1, 2023 · 1 comment

Comments

@Rajan03
Copy link

Rajan03 commented Aug 1, 2023

Bug report

Current Behavior

Currently, when we go to Formik Page or FieldArray Page two different links were selected at once
Screenshot 2023-08-01 at 1 17 51 PM

Expected behavior

Expected to select only /fieldArray route when i am at /fieldarray path similarly for formik only /formik should be selected when i am at /formik path

Reproducible example

Go to Formik page to view current behaviour
Go to FieldArray page to view current behaviour

Suggested solution(s)

In SidebarRoutes Component in [...slug].tsx replace slug.startsWith(pathname as any); by matching exact route

PS: I would like to fix this issue

@vennilamahalingam
Copy link
Contributor

I am willing to work on this issue !

vennilamahalingam added a commit to vennilamahalingam/formik that referenced this issue Aug 2, 2023
kodiakhq bot pushed a commit that referenced this issue Sep 2, 2023
kstar0707 added a commit to kstar0707/formik that referenced this issue Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants