docsifyjs / docsify

🃏 A magical documentation site generator.

Home Page:https://docsify.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard focus get lost after activating Home tab item present in left navigation pane.

msftedad opened this issue · comments

Bug Report

Steps to reproduce

  1. Open the PWA Builder URL-https://docs.pwabuilder.com/#/ in Edge browser.
  2. PWA Builder page will appear.
  3. Navigate to the home tab item present in the left navigation pane and activate it.
  4. Again press tab key to observe the keyboard focus.
  5. Observe the issue.

Current behaviour

After activating home tab item focus gets lost and after pressing tab key focus land on the GIT hub icon present at the page.

Attachments:

Keyboard.focus.get.lost.after.activating.Home.tab.item.present.in.left.navigation.pane1.mp4
Keyboard.focus.get.lost.after.activating.Home.tab.item.present.in.left.navigation.pane.mp4

Expected behaviour

Focus should remain on the home tab item after activating it, it should not get lost and should not land on the Git hub icon.

Other relevant information

  • Docsify version: 4.4.4
  • [ X] Bug still occurs when all/other plugins are disabled?

  • Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue): NA

Please create a reproducible sandbox

(https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/307qqv236)](https://docs.pwabuilder.com/#/)

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

NA

Fixed via #2253 and #2265.

These updates will be available in the next release. Until then, you can verify the changes by visiting the develop branch preview.