Skip to content

Commit

Permalink
fix(Select): Fix miscalculation of scrollTop by making all select-ite…
Browse files Browse the repository at this point in the history
…ms same height (#1330)

* IF empty string, resize similar to text so when calculating scrolltop, we navigate to the correct selected item

* Remove unneeded space

* make all select items same height to calculcate correct scroll top

* revert a change

* make uniform height for all strings

* make uniform height for all strings
  • Loading branch information
EthanMcM authored Jul 15, 2022
1 parent 846d752 commit 785f483
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/novo-elements/src/elements/select/Select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ novo-select {
font-size: 1rem;
z-index: z(below);
opacity: 0;

.select-item {
height: 35px;
}
}

.select-header {
Expand Down

0 comments on commit 785f483

Please sign in to comment.