[ https://issues.apache.org/jira/browse/BEAM-13229?focusedWorklogId=776115&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-776115 ]
ASF GitHub Bot logged work on BEAM-13229: ----------------------------------------- Author: ASF GitHub Bot Created on: 31/May/22 07:37 Start Date: 31/May/22 07:37 Worklog Time Spent: 10m Work Description: bullet03 commented on PR #17731: URL: https://github.com/apache/beam/pull/17731#issuecomment-1141774081 > There seems to be a regression here. The language tab styling isn't working right. After selecting a language at the top of the page, you don't see the corresponding language tabs highlighted in the rest of the page. > > The language highlighting functionality is really brittle and just ... hairy. I'd suggest not touching **language-switch-v2.js** unless you have to. If you do, make sure that any changes are not having unexpected side effects. Hi David, The language tab styling is working correctly now. The issue was caused by the refresh method of the scrollspy library, which resets tabs with 'active' classname. To solve it, I changed the name of the activated class from 'active' to 'activated'. I had to change the language-switch-v2.js because we need eventListener with its click event inside. I tried to avoid changing the file, but couldn't come up with a better solution. Issue Time Tracking ------------------- Worklog Id: (was: 776115) Time Spent: 7.5h (was: 7h 20m) > [Website] Bug in side navigation when changing tabs in code snippets > -------------------------------------------------------------------- > > Key: BEAM-13229 > URL: https://issues.apache.org/jira/browse/BEAM-13229 > Project: Beam > Issue Type: Bug > Components: website > Reporter: Mike Hernandez > Assignee: Bulat Safiullin > Priority: P2 > Labels: bug, website > Time Spent: 7.5h > Remaining Estimate: 0h > > Steps to reproduce the bug: > # Go to the [Beam Programming > Guide|https://beam.apache.org/documentation/programming-guide/] page > # Go to any code snippet and click on its tabs > # Notice at the right side in the side nav that the current pointer will be > jumping around sections > Other pages of Beam's documentation might have the same issue. -- This message was sent by Atlassian Jira (v8.20.7#820007)