[ 
https://issues.apache.org/jira/browse/CAMEL-14904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127035#comment-17127035
 ] 

ASF GitHub Bot commented on CAMEL-14904:
----------------------------------------

zregvart commented on pull request #378:
URL: https://github.com/apache/camel-website/pull/378#issuecomment-639744271


   @AemieJ perhaps I wasn't too clear, sorry about that, I think that the 
`panel` passed into `scrollItemToMidpoint` doesn't need to be the `div` with 
`data-panel="menu"` it could be the `nav` that we do scroll. That is, make the 
same change we made in CSS in the JavaScript, we don't scroll that `div`, we 
scroll the `nav`, keeping the quick search fixed at the top. What I think can 
be done is to move `data-panel="menu"` to the `nav`, I think that then we might 
not need any JavaScript changes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> Nav pane does not show current page
> -----------------------------------
>
>                 Key: CAMEL-14904
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14904
>             Project: Camel
>          Issue Type: Task
>          Components: website
>    Affects Versions: 3.2.0
>            Reporter: David Jencks
>            Priority: Major
>
> The Antora default UI highlights and makes sure the nav list item for the 
> current page remains visible.  The Camel components list does not do this, 
> always scrolling to the top when you click on an item.  This makes it very 
> hard to use.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to