A platform for community discussion. Free, open, simple.
FIX: removes rounding correction as it can be in either direction (#9538)
Joffrey JAFFEUXb871e79c5b44
diff --git a/app/assets/javascripts/select-kit/components/select-kit.js b/app/assets/javascripts/select-kit/components/select-kit.jsindex 4c0b095c1b7..76f8dea368e 100644--- a/app/assets/javascripts/select-kit/components/select-kit.js+++ b/app/assets/javascripts/select-kit/components/select-kit.js@@ -858,8 +858,7 @@ export default Component.extend(this.element.classList.add("is-under");}- // - 1 accounts for any rounding error- wrapper.style.width = `${this.element.offsetWidth - 1}px`;+ wrapper.style.width = `${this.element.offsetWidth}px`;wrapper.style.height = `${height}px`;}}