Skip to content

Current selected tab is not preserved after clicking 'Save and continue editing' #1330

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

Open
fng3r opened this issue May 24, 2025 · 0 comments

Comments

@fng3r
Copy link

fng3r commented May 24, 2025

What version of Unfold are you using?

0.58.0

What version of Django are you using?

5.1.6

What browser are you using?

Microsoft Edge
Version 136.0.3240.76 (Official build) (64-bit)

Did you searched other issues, if the bug is not already fixed?

Yes

Are you able to replicate the bug in the demo site?

Yes

Describe your issue

Current selected tab is getting reset to 'General' after pressing 'Save and continue editing' button on model changeform page. Bug is only reproduced when you have some filters applied (so URL contains query params). In this case URL hash which contains name of current tab is getting lost on page reload after saving an item. When you have no query params in the url all works fine.

Here is the demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant