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

@GrabowskiM GrabowskiM requested review from dew326 and lucasOsti January 8, 2021 06:50
@@ -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?

@GrabowskiM GrabowskiM requested a review from dew326 January 11, 2021 08:05
@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
Development

Successfully merging this pull request may close these issues.

5 participants