Преглед изворни кода

Merge pull request #574 from smiclea/fix-dropdown-click

Fix dropdown click not registering correctly
Sergiu Miclea пре 5 година
родитељ
комит
6605d2fcd2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/molecules/Dropdown/Dropdown.tsx

+ 1 - 1
src/components/molecules/Dropdown/Dropdown.tsx

@@ -400,7 +400,7 @@ class Dropdown extends React.Component<Props, State> {
 
 
     this.justFocused = true
     this.justFocused = true
     this.toggleDropdownList(true)
     this.toggleDropdownList(true)
-    setTimeout(() => { this.justFocused = false }, 100)
+    setTimeout(() => { this.justFocused = false }, 1000)
   }
   }
 
 
   handleBlur() {
   handleBlur() {