• Luke Bennett's avatar
    Added new non-selectable selector exclusions to fix arrow key events, fixed... · b4398de5
    Luke Bennett authored
    Added new non-selectable selector exclusions to fix arrow key events, fixed the simulated clicking of a row and fixed the conflict between enter key form submit and enter key row selection
    
    Added bootstrap dropdown event triggers to invoke the open and close methods of the dropdown, allowing for the binding of array key events
    
    Added #17465 fix entry to CHANGELOG
    
    Fixed multi-dropdown selected row index conflict
    
    Fixed whitespace diff
    
    Added padding to the dropdown content iterative scroll as well as new conditional scrolls to scroll all the way to the top when the first item of a list is selected and to scroll all the way to the bottom when the last item of a list is selected
    
    Added conditionals to the enable and disable autocomplete methods to stop multiple invocations without any enabled/disabled state change
    
    Fixes some incorrect firing of requests. The dropdown box was invoking a new query every time it closed and the GitLabDropdownRemote callback was invoking a new query which was causing the dropdown double render issue.
    
    Added .selectable css class to dropdown list items that are not dividers or headers and altered selectors to account for that. Moved scroll padding Number to variable.
    
    Removed unused method
    
    Started Dropdown tests
    
    Added fixture and began first test
    
    Almost finished, navigation done, action and close needed
    
    YAY. TESTS DONE.
    
    Altered test and fixed click
    
    started removing selectable class use
    
    Fixed as reviewed
    
    altered selection method
    
    Fixed autocomplete shutting dropdown on arrow key use
    
    patched XSS vulns
    
    updated tests
    
    f
    
    Added click fixes
    b4398de5
gl_dropdown.html.haml 688 Bytes