Skip to content

Sidebar logo occasionally glitches #1796

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

Closed
1 task
Zaeems opened this issue May 4, 2022 · 4 comments
Closed
1 task

Sidebar logo occasionally glitches #1796

Zaeems opened this issue May 4, 2022 · 4 comments

Comments

@Zaeems
Copy link

Zaeems commented May 4, 2022

Bug Report

Steps to reproduce

  1. Add to $window.docsify: logo: "https://raw.githubusercontent.com/Zaeems/iMS-User-Scripts/main/iMS_Dark_Mode.svg", and coverpage: true,
  2. Add to custom.css: .app-name-link img { height: 3rem; }
  3. Ensure _coverpage.md exists and contains something, example: <!-- _coverpage.md --> Test
  4. Serve the site, then scroll below the coverpage

What is current behaviour

Occasionally, the sidebar logo will move really quicky for less than a second.

watch.the.logo.mp4

What is the expected behaviour

Sidebar logo to remain in place.

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS: Windows 10 64-bit

  • Node.js version: v16.14.1

  • npm/yarn version: 8.5.0

  • Browser version: Opera GX LVL3 (core: 85.0.4341.72)

  • Docsify version: 4.12.2

  • Docsify plugins: zoom-image, search, darklight-theme

Please create a reproducible sandbox

I can't get the sandbox to work.

https://zaeems.github.io/#/

Mention the docsify version in which this bug was not present (if any)

@Zaeems
Copy link
Author

Zaeems commented May 4, 2022

To reproduce - Click Home in the navbar, scroll up 2 ticks so your screen looks like the screenshot, wait 5 seconds, then scroll down 1 tick.
image

@sy-records
Copy link
Member

I can't reproduce your problem in Chrome

@Zaeems
Copy link
Author

Zaeems commented May 11, 2022

I can't reproduce your problem in Chrome

I also cannot recreate it on Chrome.
On the other hand, I can recreate it on Edge.

2022-05-11.12-10-23.mp4

@jhildenbiddle
Copy link
Member

This issue has been (likely) addressed by PR #2469. The changes will be available when Docsify v5 is released.

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

3 participants