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

unpoly 3.8 error using browser back button #24

Open
hpvd opened this issue Jun 21, 2024 · 2 comments
Open

unpoly 3.8 error using browser back button #24

hpvd opened this issue Jun 21, 2024 · 2 comments

Comments

@hpvd
Copy link

hpvd commented Jun 21, 2024

First of all many thanks for this awesome piece of software! v3.8 would be worth a major version step :-)

Bug description

error on using browser back button.
possibly introduced with new features/changes of unpoly 3.8

Reproduction project

www.unpoly.com

Steps to reproduce the behavior:

  1. Go to reproduction project linked above
  2. Click in menu on 'passive updates'
  3. Click in menu on 'up flashes'
  4. Click browser back button
  5. See error:
Uncaught up.: Cannot reveal a detached element
    <anonymous> https://unpoly.com/javascripts/guide-8c2112b3.js:29
    e https://unpoly.com/javascripts/guide-8c2112b3.js:29
    e https://unpoly.com/javascripts/guide-8c2112b3.js:33
    revealCurrent https://unpoly.com/javascripts/guide-8c2112b3.js:34
    r https://unpoly.com/javascripts/guide-8c2112b3.js:34
    revealCurrent https://unpoly.com/javascripts/guide-8c2112b3.js:34
    r https://unpoly.com/javascripts/guide-8c2112b3.js:34
    revealCurrent https://unpoly.com/javascripts/guide-8c2112b3.js:34
    r https://unpoly.com/javascripts/guide-8c2112b3.js:34
    l https://unpoly.com/javascripts/guide-8c2112b3.js:34
    setTimeout handler*te https://unpoly.com/javascripts/guide-8c2112b3.js:29
    l https://unpoly.com/javascripts/guide-8c2112b3.js:34
    setTimeout handler*te https://unpoly.com/javascripts/guide-8c2112b3.js:29
    c https://unpoly.com/javascripts/guide-8c2112b3.js:34
    nativeCallback https://unpoly.com/javascripts/guide-8c2112b3.js:30
    _dispatchEvent https://unpoly.com/javascripts/guide-8c2112b3.js:30
    emit https://unpoly.com/javascripts/guide-8c2112b3.js:30
    s https://unpoly.com/javascripts/guide-8c2112b3.js:32
    a https://unpoly.com/javascripts/guide-8c2112b3.js:33
    p https://unpoly.com/javascripts/guide-8c2112b3.js:33
    h https://unpoly.com/javascripts/guide-8c2112b3.js:33
    setTimeout handler*t</up.history< https://unpoly.com/javascripts/guide-8c2112b3.js:33
    nativeCallback https://unpoly.com/javascripts/guide-8c2112b3.js:30
    _dispatchEvent https://unpoly.com/javascripts/guide-8c2112b3.js:30
    emit https://unpoly.com/javascripts/guide-8c2112b3.js:30
    s https://unpoly.com/javascripts/guide-8c2112b3.js:32
    t https://unpoly.com/javascripts/guide-8c2112b3.js:32
    r https://unpoly.com/javascripts/guide-8c2112b3.js:32
    <anonymous> https://unpoly.com/javascripts/guide-8c2112b3.js:34
    <anonymous> https://unpoly.com/javascripts/guide-8c2112b3.js:34
[guide-8c2112b3.js:29:21724](https://unpoly.com/javascripts/guide-8c2112b3.js)

Expected behavior

no error

Browser version

  • OS: [Windows]
  • Browser [Firefox]
  • Version [latest]
@hpvd
Copy link
Author

hpvd commented Jun 21, 2024

2024-06-21_17h17_06

@triskweline triskweline transferred this issue from unpoly/unpoly Jun 23, 2024
@triskweline
Copy link
Contributor

This is an issue in the unpoly.com site, not in Unpoly.

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

2 participants