Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EZP-32180: Some of the selection list elements are not visible #1688

Merged

Conversation

GrabowskiM
Copy link
Contributor

Question Answer
Tickets https://issues.ibexa.co/browse/EZP-32180
Bug fix? yes
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

Checklist:

  • Ready for Code Review

@@ -146,6 +140,8 @@

const isListHidden = this.itemsContainer.classList.contains(CLASS_ITEMS_HIDDEN);
const bodyMethodName = isListHidden ? 'addEventListener' : 'removeEventListener';
const itemsContainerHeight =
document.documentElement.getBoundingClientRect().height - this.itemsContainer.getBoundingClientRect().top - 16;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the list will be expanded to the top not to bottom?
What is 16?

@lserwatka lserwatka merged commit 5b341d8 into 2.2 Jan 12, 2021
@lserwatka lserwatka deleted the EZP-32180-some-of-the-selection-list-elements-are-not-visible branch January 12, 2021 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants