[
https://issues.apache.org/jira/browse/SOLR-8210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14973934#comment-14973934
]
Stefan Matheis (steffkes) commented on SOLR-8210:
-------------------------------------------------
[~upayavira] there is a function
[{{check_fixed_menu}}|http://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/scripts/app.js?view=markup#l602]
that tries to handle that:
{code}check_fixed_menu = function check_fixed_menu()
{
$( '#wrapper' ).toggleClass(
'scroll',
$( window ).height() < $( '#menu-wrapper' ).height() + $( '#header'
).height() + 40
);
}{code}
The idea would be: check the height of the (browser)window and compare it to
the height of the menu (wrapper) to decide if the menu could be a sticky one
(that is what that kind of menu is typically called) or should scroll with the
remaining content because there is not enough space on the screen.
{{check_fixed_menu}} gets called once the application starts as well as on
{{window.resize}} to catch up if the user resizes the browser window, in which
case it might change either way (become sticky or not sticky anymore)
> Admin UI menu does not scroll
> -----------------------------
>
> Key: SOLR-8210
> URL: https://issues.apache.org/jira/browse/SOLR-8210
> Project: Solr
> Issue Type: Improvement
> Components: web gui
> Affects Versions: 5.3
> Reporter: Upayavira
> Assignee: Upayavira
> Priority: Minor
>
> When you view the UI on a projector - or a small screen (e.g. with dev tools
> open), some menu options might be obscured at the bottom of the screen. The
> menu doesn't scroll though, meaning the only way to get to these entries is
> to use another screen, or change the text size in the browser temporarily.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]