Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
ISSUE SUMMARY:
The submenu doesn't flip right or left when displayed in a smaller window, desktop or mobile, like it should. I'm using JomSocial and YOO template so I'm not sure which is controlling this. However, because it happens on the JomSocial icons, we are leaning towards JomSocial. Screenshot attached.
Can you please take a look and see if this is related to JomSocial and how to fix it? Thanks!
STEPS TO REPLICATE:
1 Go to courtclubelite.com
2 Log in
3 Narrow your browser window until there is only a small amount of gray on either side of the white area
4 Click the globe icon
5
RESULT
The sub menu tries to display to the left and is cut off
EXPECTED RESULT
The sub menu would flip and display to the right.
BROWSER
Firefox
Thank you for your suggestion. The additional CSS you suggested really helped as the window narrows. Most of the time it works, there is a width where the popover goes to the left, then as you narrow the window more, the popover goes to the center and not off the menu item.
So as you narrow, the popover goes from opening to the right of the menu item, to opening to the left of the menu item, to the center of the window.
Thank you for the suggestion, however it did not fix the problem.
You can see the continuing issue with these steps:
Login to the front end -
1. Click the 'world' icon on the Jomsocial toolbar. The submenu drops down to the right of the menu item.
2. Gradually decrease the width of your browser window. At a certain point, you will see the submenu flip to display to the left. NOTE: This brief area's behavior is 1 remaining issue.
3. Continue decreasing the width and the toolbar changes so that when you again click the world icon, the submenu displays as a modal window. NOTE: 2nd remaining issue -- When the modal window displays, if the browser window is a certain width, you can ALSO see the submenu as a left dropdown behind the modal background opacity.
Screenshots attached.