bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Scrollspy: focus shift bug

Open vaiFaW opened this issue 1 year ago • 1 comments

Prerequisites

Describe the issue

After interacting with an anchor, the focus doesn't move to the related contents in the page

Reduced test cases

In the latest Bootstrap release the bug acts ad described above. It's possible to check it in the documentation page: https://getbootstrap.com/docs/5.3/components/scrollspy/#nested-nav

In the release 5.0 the bug didn't exist and the focus correctly shifted on the relative h4/h5: https://getbootstrap.com/docs/5.0/components/scrollspy/#example-with-nested-nav

What operating system(s) are you seeing the problem on?

Windows, macOS

What browser(s) are you seeing the problem on?

Chrome, Safari, Firefox, Microsoft Edge

What version of Bootstrap are you using?

v5.3.2

vaiFaW avatar Jun 04 '24 13:06 vaiFaW

When interacting with a menu item and then rebooting, should it point to a specific menu item?

DenisLopatin avatar Nov 26 '25 16:11 DenisLopatin