docsifyjs / docsify

🃏 A magical documentation site generator.
https://docsify.js.org
MIT License
27.78k stars 5.68k forks source link

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

Closed msftedad closed 11 months ago

msftedad commented 11 months ago

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:

https://github.com/docsifyjs/docsify/assets/93735775/8a77b6e4-1cc7-4567-9dc0-1327f562b17d

https://github.com/docsifyjs/docsify/assets/93735775/0e8bda15-db41-43d2-b1b5-ccc54d558fe6

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

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

jhildenbiddle commented 11 months ago

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.