From e18450fb53d4566e19b847e1606a2c9d00fe18cf Mon Sep 17 00:00:00 2001 From: Ryan Schmukler Date: Sun, 5 Apr 2015 19:07:54 -0400 Subject: [PATCH] fix(select): make select positioning factor in scroll bar width closes #1770 --- src/components/select/select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/select/select.js b/src/components/select/select.js index e4e0e9af024..d25a43aa5cd 100755 --- a/src/components/select/select.js +++ b/src/components/select/select.js @@ -891,7 +891,7 @@ function SelectProvider($$interimElementProvider) { left: parentRect.left + SELECT_EDGE_MARGIN, top: SELECT_EDGE_MARGIN, bottom: parentRect.height - SELECT_EDGE_MARGIN, - right: parentRect.width - SELECT_EDGE_MARGIN + right: parentRect.width - SELECT_EDGE_MARGIN - ($mdUtil.floatingScrollbars() ? 16 : 0) }, spaceAvailable = { top: targetRect.top - bounds.top,