Skip to content

Commit 23b36d6

Browse files
committed
Fixes for placeholder jumping down and charters getting chopped from lower parts
1 parent 69cc662 commit 23b36d6

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/components/Select/Select.scss

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,23 @@
2323
height: $reactselectheight - 2px;
2424
}
2525

26-
& input {
27-
height: $reactselectcontentheight - 3px;
28-
transition: none !important;
26+
& > div:nth-child(1) > div:nth-last-child(1) {
27+
height: $reactselectcontentheight + 4px;
2928
}
3029

31-
& input:focus {
30+
& input {
31+
height: $reactselectcontentheight;
32+
line-height: $reactselectcontentheight;
33+
transition: none !important;
3234
box-shadow: none !important;
3335
-webkit-box-shadow: none !important;
34-
height: $reactselectcontentheight - 3px;
3536
}
37+
3638
}
3739

3840
& .react-select__value-container {
3941
& > div:nth-last-child(1) {
40-
height: $reactselectcontentheight - 2px;
42+
height: $reactselectcontentheight + 4px;
4143
}
4244
}
4345

src/components/TeamManagement/AutocompleteInputContainer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class AutocompleteInputContainer extends React.Component {
2929
}
3030
return value
3131
})
32-
console.log('inputValue :', inputValue)
32+
3333
if (this.props.onUpdate) {
3434
this.props.onUpdate(inputValue)
3535
}

src/reducers/members.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export default function(state = initialState, action) {
2020
case CLEAR_MEMBER_SUGGESTIONS:
2121
return Object.assign({}, state, {suggestedMembers: []})
2222
case LOAD_MEMBER_SUGGESTIONS_SUCCESS:
23-
console.log(action.payload)
2423
return Object.assign({}, state, {suggestedMembers: action.payload})
2524
case LOAD_MEMBERS_SUCCESS: {
2625
const _members = _.map(_.filter(action.payload, m => m.userId), m => {

0 commit comments

Comments
 (0)