File tree 1 file changed +4
-2
lines changed
projects/igniteui-angular/src/lib/select
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,10 @@ export class SelectPositioningStrategy extends BaseFitPositionStrategy implement
73
73
}
74
74
75
75
public itemIsInvisible ( selectFit : SelectFit ) {
76
- return selectFit . itemElement . getBoundingClientRect ( ) . top >= selectFit . dropDownList . getBoundingClientRect ( ) . bottom ||
77
- selectFit . itemElement . getBoundingClientRect ( ) . bottom <= selectFit . dropDownList . getBoundingClientRect ( ) . top ;
76
+ return Math . round ( selectFit . itemElement . getBoundingClientRect ( ) . top * 100 ) / 100 >=
77
+ Math . round ( selectFit . dropDownList . getBoundingClientRect ( ) . bottom * 100 ) / 100 ||
78
+ Math . round ( selectFit . itemElement . getBoundingClientRect ( ) . bottom * 100 ) / 100 <=
79
+ Math . round ( selectFit . dropDownList . getBoundingClientRect ( ) . top * 100 ) / 100 ;
78
80
}
79
81
80
82
private manageScrollToItem ( selectFit : SelectFit ) {
You can’t perform that action at this time.
0 commit comments