ICEfaces
  1. ICEfaces
  2. ICE-7769

ace:contextMenu, ace:menuBar - add capability to force the menu to display in a certain direction

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0.1, EE-3.0.0.GA
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      Feature Request: Add the ability to force the contextMenu to display in a certain direction regardless of where it is positioned in regards to the browser edges (top, bottom, left, right).

      This could be accomplished by adding a new attribute "position", which would accept the following values:

      auto - automatically position based on the available window real estate to maximize the amount of the menu that can be seen without scrolling (default).
      top - always open the contextMenu above the target element.
      bottom - always open the contextMenu below the target element.

      In all cases, the automatic logic for left or right placement would still apply to maximize the amount of the menu that can be seen without scrolling.

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case [5007000000JLLEb]
        Ken Fyten made changes -
        Fix Version/s EE-3.0.0.GA [ 10262 ]
        Fix Version/s 3.0.1 [ 10282 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.)]
        Assignee Priority P1
        Description Feature Request: Add the ability to force the contextMenu to display in a certain direction regardless of where it is positioned in regards to the browser edges (top, bottom, left, right). Feature Request: Add the ability to force the contextMenu to display in a certain direction regardless of where it is positioned in regards to the browser edges (top, bottom, left, right).

        This could be accomplished by adding a new attribute "position", which would accept the following values:

        auto - automatically position based on the available window real estate to maximize the amount of the menu that can be seen without scrolling (default).
        top - always open the contextMenu above the target element.
        bottom - always open the contextMenu below the target element.

        In all cases, the automatic logic for left or right placement would still apply to maximize the amount of the menu that can be seen without scrolling.

        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Arturo Zambrano made changes -
        Attachment contextMenuSubmenu.xhtml [ 14103 ]
        Ken Fyten made changes -
        Summary ace:contextMenu - add capability to force the menu to display in a certain direction ace:contextMenu, ace:menuBar - add capability to force the menu to display in a certain direction
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: