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

Home Tab not accessible or freezing randomly #4083

Closed
5 tasks done
abhiTronix opened this issue Jul 3, 2022 · 6 comments
Closed
5 tasks done

Home Tab not accessible or freezing randomly #4083

abhiTronix opened this issue Jul 3, 2022 · 6 comments
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open

Comments

@abhiTronix
Copy link

abhiTronix commented Jul 3, 2022

Contribution guidelines

I've found a bug and checked that ...

  • ... the problem doesn't occur with the mkdocs or readthedocs themes
  • ... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

Hi, I'm seeing this weird behavior that Home Tab becoming inaccessible or frozen/disabled (cannot be clicked) when I'm on any another tab such as Gear (Make sure to follow Steps to reproduce). It happens randomly but quit frequently and I tried switching browsers and the problem persists on all of them. I have no clue about what is causing this, and nor mkdocs logs or browser inspection mode is showing any errors/issues.

Moreover, this is happening both on local build as well as when deployed to gh-pages. Also, only Home tab is affected and other tabs are accessible normally.

However, this issue wasn't there earlier with same mkdocs.yml configuration but with MkDocs 1.2.3 and mike 1.1.2 (Test here https://abhitronix.github.io/vidgear/v0.2.5-stable/)

Expected behaviour

I should able to click Home Tab when I'm on any another tab such as Gear

Actual behaviour

Home Tab is inaccessible or frozen/disabled (cannot be clicked) when I'm on any another tab such as Gear (Make sure to follow Steps to reproduce)

Steps to reproduce

  1. Go to Home Tab
  2. Go to any another tab such as Gear
  3. Try clicking Home tab is now impossible.

Package versions

  • Python: 3.7
  • MkDocs: MkDocs 1.3.0 and mike 1.1.2
  • Material: 8.3.8

Configuration

site_name: VidGear
site_url: https://abhitronix.github.io/vidgear/

Complete mkdocs.yml: https://github.com/abhiTronix/vidgear/blob/testing/mkdocs.yml

System information

  • Operating system: Windows
  • Browser: Chrome, Edge, Mozilla
@squidfunk
Copy link
Owner

Thanks for reporting! I can reproduce the error on your documentation, and I've stepped through the debugger on your page. I think I've found the error and fixed it in a261130, so please re-deploy with master to check if it's gone.


Other than that, the next time you file a report, please make sure you can check all boxes, i.e. check whether the problem persists when you remove all customizations. Customizations are more than often the reason for errors, and I'm afraid I can't help everybody to customize his/her documentation to taste. Also, debugging on a live page is likely not to return any meaningful results. The time I spend trying to come up with reproductions is often better invested in new features 😉

I understand that creating reproductions sometimes involves serious effort, but it allows me to provide fixes almost instantly. The issue reporting process will shortly be transformed to require reproducible examples.

@squidfunk squidfunk added bug Issue reports a bug resolved Issue is resolved, yet unreleased if open labels Jul 3, 2022
@abhiTronix
Copy link
Author

abhiTronix commented Jul 3, 2022

Thanks for reporting! I can reproduce the error on your documentation, and I've stepped through the debugger on your page. I think I've found the error and fixed it in a261130, so please re-deploy with master to check if it's gone.

@squidfunk Thank you for the quick fix. Sorry I was traveling and did not have access to my laptop. But now I'll test this fix right away and let you know.

Other than that, the next time you file a report, please make sure you can check all boxes, i.e. check whether the problem persists when you remove all customizations. Customizations are more than often the reason for errors, and I'm afraid I can't help everybody to customize his/her documentation to taste. Also, debugging on a live page is likely not to return any meaningful results. The time I spend trying to come up with reproductions is often better invested in new features 😉

Sorry, I totally understand your point but I didn't got the chance to test if the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css. I thought I'll check the box once I'm sure the custom directory isn't the problem. The sudden travelling plan got in the way and I forgot about it untill now. I'll surely take care of this next time. 😃

@abhiTronix

This comment was marked as outdated.

@squidfunk
Copy link
Owner

Works for me:

Ohne.Titel.mp4

The error you're reporting may be related to an incomplete deployment, i.e. assets have not yet been propagated to the caches. Please make sure that the application bundle loads properly in your browser...

@abhiTronix
Copy link
Author

abhiTronix commented Jul 3, 2022

@squidfunk Sorry I think I said it too early, the issue is fixed now. I pressed Ctrl+F5 and problem was gone 😃. I think my browser cached old JS files. Thank you so much. Loved your work!!! ❤️

@squidfunk
Copy link
Owner

Released as part of 8.3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants