Skip to content
Snippets Groups Projects
Commit d664da91 authored by chris's avatar chris
Browse files

dorpdown input focus and transaprent bg on focus and active

parent 71e408bf
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,8 @@ class DropdownTitle extends React.Component { ...@@ -128,7 +128,8 @@ class DropdownTitle extends React.Component {
handleClickOutside (event) { handleClickOutside (event) {
var domNode = findDOMNode(this) var domNode = findDOMNode(this)
const input = findDOMNode(this.refs.dropDownInput)
if (input) input.focus()
if (domNode.classList.contains('open')) { if (domNode.classList.contains('open')) {
if (!domNode.contains(event.target)) { if (!domNode.contains(event.target)) {
this.close() this.close()
......
...@@ -86,7 +86,7 @@ $white: #fff; ...@@ -86,7 +86,7 @@ $white: #fff;
padding: 0; padding: 0;
position: relative; position: relative;
&:hover { &:hover, &:active, &:focus {
background: transparent !important; background: transparent !important;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment