Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix(select): make select positioning factor in scroll bar width
Browse files Browse the repository at this point in the history
closes #1770
  • Loading branch information
rschmukler committed Apr 5, 2015
1 parent bffa15a commit e18450f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e18450f

Please sign in to comment.