Skip to content

Conversation

LinAlSara
Copy link

Problem
I want to open the dropdown menu by default downwards and only if the dropdown menu list will be at the end of the page (it will be cut & user has to scroll to see the dropdown list) then open it upwards. The problem with the current implementation is that 'display: none' is used which means the dropdown menu does not appear in the dom & therefore I can not detect if the dropdown menu list will be at the end of the page.
So I suggest using visibility: hidden instead of 'display: none'.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.652% when pulling bc1ce75 on LinAlSara:enhancement/UseVisibilityHiddenInsteadOfDisplayNone into 2203ee0 on trendmicro-frontend:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants