Right-clicking on submenu item makes the submenu disappear while the right-mouse button menu is on. After coming out from the RMB menu, the submenu re-appears - only this time, behind the form fields such as select dropdowns. All other menus display behind form fields after that until the page is refreshed.
Is this a known issue?
TIA
Right-clicking on submenu item sends menu behind form fields
-
- Advanced
- Posts: 26
- Joined: Tue Jan 23, 2007 3:35 pm
-
- Advanced
- Posts: 26
- Joined: Tue Jan 23, 2007 3:35 pm
-
- Advanced
- Posts: 26
- Joined: Tue Jan 23, 2007 3:35 pm
As I guessed, it is a problem with all type of menus. Here is a quick-n-dirty HTML to paste into drawMenus() right after echoing the menu script:
echo '<br><br><select name="sort" style="width: 150px; ">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select><select name="sort" style="width: 150px; ">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select><select name="sort" style="width: 150px; ">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select>';
The above would render 3 select dropdowns. Mouseover any menubar item and right-mouse click on any submenu item. The submenu disappears. Cancel the RMB menu by clicking outside or pressing Esc. The submenu re-appears behind the selects. Now on, every other submenu displays behind the selects until the page is refreshed.
Ideally, it would be better to not hide the submenu on right-clicking the mouse because the user intends to open the submenu item link in a new window/tab instead of the same window/tab. Since the submenu is hidden on RMB menu for some reason, there is no way to do this. I don't understand the logic behind hiding and showing the submenu on RMB click.
Regret I could not come up with a test site as the app is not being hosted anywhere, yet.
Thanks for your time,
echo '<br><br><select name="sort" style="width: 150px; ">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select><select name="sort" style="width: 150px; ">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select><select name="sort" style="width: 150px; ">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select>';
The above would render 3 select dropdowns. Mouseover any menubar item and right-mouse click on any submenu item. The submenu disappears. Cancel the RMB menu by clicking outside or pressing Esc. The submenu re-appears behind the selects. Now on, every other submenu displays behind the selects until the page is refreshed.
Ideally, it would be better to not hide the submenu on right-clicking the mouse because the user intends to open the submenu item link in a new window/tab instead of the same window/tab. Since the submenu is hidden on RMB menu for some reason, there is no way to do this. I don't understand the logic behind hiding and showing the submenu on RMB click.
Regret I could not come up with a test site as the app is not being hosted anywhere, yet.
Thanks for your time,
Last edited by screenmates on Sat Feb 03, 2007 12:31 am, edited 2 times in total.
-
- Advanced
- Posts: 26
- Joined: Tue Jan 23, 2007 3:35 pm