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

"Ask your followers" modal does not work when navigating back #1001

Open
nilsding opened this issue Jan 27, 2023 · 1 comment
Open

"Ask your followers" modal does not work when navigating back #1001

nilsding opened this issue Jan 27, 2023 · 1 comment
Labels
bug Issues containing bug reports

Comments

@nilsding
Copy link
Member

nilsding commented Jan 27, 2023

already ran into this one a few days ago, but only now could make sense of it. Seems like Turbo messes something up there

reproduction steps:

  1. visit any page
  2. click on a link
  3. use the "Back" button on your browser
  4. open the "Ask your followers" modal
  5. the "Ask" button does not have an event anymore

it works again if you click on another link

@nilsding nilsding added the bug Issues containing bug reports label Jan 27, 2023
@raccube
Copy link
Contributor

raccube commented Feb 13, 2023

Had a look into this earlier. .js-initialized on the "Ask" button persists when navigating backwards so the event doesn't get re-applied.

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

No branches or pull requests

2 participants